##// END OF EJS Templates
Remove usage of ${par:-word}, which and mktemp. Quote filenames.
Remove usage of ${par:-word}, which and mktemp. Quote filenames.

File last commit:

r793:445970cc merge default
r795:cd0ad12d 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/"