##// END OF EJS Templates
Provided platform dependent implementations for explain_exit...
Provided platform dependent implementations for explain_exit os.system return code is system dependent.

File last commit:

r774:6592c4f5 default
r782:cdb9e95b default
Show More
test-diffdir
12 lines | 197 B | text/plain | TextLexer
#!/bin/sh
hg init
touch a
hg add a
hg ci -m "a" -d "0 0"
echo 123 > b
hg add b
hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"
hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"