Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-conflict @ 4371:abeb3edb2b4e
dirstate: make parents() faster.
This allows localrepository.status() to avoid reading all but the
first 40 bytes of the dirstate in the common case of running "hg
status".
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 24 Apr 2007 11:46:15 -0700 |
parents | 46280c004f22 |
children | 93a4e72b4f83 |
line wrap: on
line source
#!/bin/sh hg init echo "nothing" > a hg add a hg commit -m ancestor -d "1000000 0" echo "something" > a hg commit -m branch1 -d "1000000 0" hg co 0 echo "something else" > a hg commit -m branch2 -d "1000000 0" hg merge 1 hg id egrep -v ">>>|<<<" a hg status