view tests/test-tag @ 1249:a5355fa5e33a

Fix up copy command to behave more like regular "cp". In addition to recording changes, copy now updates the working directory.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 14 Sep 2005 14:29:02 -0700
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"