view tests/test-1102 @ 7816:f420eafe59cd

bookmarks: Set current bookmark if we create a new one on the tip If track.current is enabled we set the newly created bookmark as the current tracked bookmark. We do not do this if a revision is specified.
author David Soria Parra <dsp@php.net>
date Sun, 01 Mar 2009 00:30:01 +0100
parents 938eddd76237
children
line wrap: on
line source

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