view tests/test-tag @ 1108:7a75d8fbbdaf

Remove some options from 'hg grep': -Z (we have -0 as in locate) -a (use "-r 0:tip" instead, or always grep all unless -r is given) -e (we have the PATTERN argument) -v (doesn't work, and this is more of a job for 'hg cat|grep') -s (we have -q/--quiet) -f (should be always enabled if -l used, or enable on -v/--verbose)
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 27 Aug 2005 23:36:25 +0200
parents 0902ffece4b4
children 2073e5a71008
line wrap: on
line source

#!/bin/sh

hg init
echo a > a
hg add a
hg commit -m "test" -d "0 0"
hg history
hg tag -d "0 0" "bleah" 
hg history

echo foo >> .hgtags
hg tag -d "0 0" "bleah2" || echo "failed"