##// END OF EJS Templates
Stop patch description import at diff -r...
Stop patch description import at diff -r -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stop patch description import at diff -r manifest hash: cc269f69c26ad4fba1fdaeefe2dc8191a0669fe0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyZmyywK+sNU5EO8RAkODAJ9d/JYpBOZiOcQxlz0n2VtIPtK/IgCgl2Lj caGbq4yn4RxzBQqqIoQzOTQ= =9fHy -----END PGP SIGNATURE-----

File last commit:

r536:c15b4bc0 default
r614:6bff574d default
Show More
test-diffdir
12 lines | 187 B | text/plain | TextLexer
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536 #!/bin/sh
hg init
touch a
hg add a
hg ci -t "a" -u test -d "0 0"
echo 123 > b
hg add b
hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/"
hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/"