##// END OF EJS Templates
Make tests work on Solaris:...
Make tests work on Solaris: - replacement for mktemp - fall back if shell arithmetic doesn't work - replacement for 'set -x' (which results look different with some shells) - "FOO=bar; export FOO" instead of "export FOO=bar" - don't use 'if ! ...'

File last commit:

r749:7e4843b7 default
r798:c28f9feb default
Show More
test-tag
13 lines | 183 B | text/plain | TextLexer
#!/bin/sh -x
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"