view tests/test-tag @ 573:fbfbd4e506c3

transaction: nullify journal after close() -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 transaction: nullify journal after close() This keeps us from trying to cleanup in __del__. bug spotted by K Thananchayan <thananck@yahoo.com> manifest hash: 1f4c5fa43d2458cdcb6ec0f0a7066b3c3e699f33 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxwQ6ywK+sNU5EO8RAuGhAJ9+BnKILwRCF9EKlPTz2zptiysQ/QCgsB3s VKIehiStv+ibWQQi15k4mwk= =nZD1 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 02 Jul 2005 13:16:42 -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"