diff --git a/tests/test-tag b/tests/test-tag new file mode 100755 --- /dev/null +++ b/tests/test-tag @@ -0,0 +1,13 @@ +#!/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" +