tests/test-1102
author Gilles Moris <gilles.moris@free.fr>
Mon, 10 May 2010 08:43:36 +0200
changeset 11163 acd61dc44a39
parent 6671 938eddd76237
permissions -rwxr-xr-x
commit: prevent closing non-head changesets

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