tests/test-backwards-remove
author Sune Foldager <cryo@cyanite.org>
Sat, 23 May 2009 17:04:31 +0200
changeset 8564 6b9ec23b09fc
parent 1933 7544700fd931
permissions -rwxr-xr-x
named branches: improve pre-push logic (issue736) Each named branch is considered separately, and the push is allowed if no new branch heads are created for any named branch to be pushed. Due to some tests's use of --debug, their output will change after this addition. This has been fixed as well. Co-contributor: Henrik Stuart <henrik.stuart@edlund.dk>

#!/bin/sh
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
ls
echo This is file b1 > b
hg add b
hg commit -m "commit #1" -d "1000000 0"
hg co 0
# B should disappear
ls