tests/test-merge8
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 02 Dec 2006 22:15:18 +0100
changeset 3765 768ba23c948e
parent 3389 efbe24c7d8d9
permissions -rwxr-xr-x
Change sshrepo.repoerror() into a more flexible sshrepo.raise_(). Now every exception can be raised with a cleanup, not only hg.RepoError.

#!/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