tests/test-1102
author Sune Foldager <cryo@cyanite.org>
Sat, 23 May 2009 17:04:31 +0200
changeset 8564 6b9ec23b09fc
parent 6671 938eddd76237
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

rm -rf a
hg init a
cd a
echo a > a
hg ci -Am0
hg tag t1 # 1
hg tag --remove t1 # 2

hg co 1
hg tag -r0 t1
hg tags