view tests/test-tag @ 660:2c83350784c3

Move commit hook after commit completes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Move commit hook after commit completes manifest hash: bc65b570af67ee4748efaba2ff8a6cddf91b8a14 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC0ZwSywK+sNU5EO8RAuAjAJsHGTXsOCnxq+xbq/Q0H+ayGnzaiQCfdWn6 or+IWK3sjYILYncTxMFZJdE= =mQb7 -----END PGP SIGNATURE-----
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Jul 2005 14:07:14 -0800
parents af4848f83e68
children 7e4843b7efd2
line wrap: on
line source

#!/bin/sh -x

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

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