tests/test-1102
author Matt Mackall <mpm@selenic.com>
Thu, 23 Oct 2008 14:56:16 -0500
changeset 7230 261a9f47b44b
parent 6671 938eddd76237
permissions -rwxr-xr-x
grep: avoid infinite loop when trailing newline is missing

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