tests/test-merge8
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 16 Nov 2006 08:51:22 +0100
changeset 3671 86d3f966201d
parent 3389 efbe24c7d8d9
permissions -rwxr-xr-x
Use nullrev+count instead of count-1 in a newly introduced expression. Before that repo.changelog.tip() was used, but this yields a node. Of course many more places should be changed like this, this was just done as an example.

#!/bin/sh

# Test for changeset ba7c74081861
# (update dirstate correctly for non-branchmerge updates)
hg init a
cd a
echo a > a
hg add a
hg commit -m a
cd ..
hg clone a b
cd a
hg mv a b
hg commit -m move
echo b >> b
hg commit -m b
cd ../b
hg pull ../a
hg update