##// END OF EJS Templates
make test-pull-permission cleanup correctly in case of errors
make test-pull-permission cleanup correctly in case of errors

File last commit:

r1723:fde8fb2c default
r1750:955a7caf default
Show More
test-diffdir
18 lines | 428 B | text/plain | TextLexer
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536 #!/bin/sh
hg init
touch a
hg add a
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg ci -m "a" -d "0 0"
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536
echo 123 > b
hg add b
TK Soh
test fixes for Solaris 2.6...
r949 hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
-e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536
TK Soh
test fixes for Solaris 2.6...
r949 hg diff -r tip | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
-e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
Thomas Arendsen Hein
Fix diff against an empty file (issue124) and add a test for this.
r1723
echo foo > a
hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
-e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"