##// END OF EJS Templates
Expand undo docs...
Expand undo docs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Expand undo docs manifest hash: 4381a35ef96ce10176dde3c9c6c2503f65ae8a09 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyD93ywK+sNU5EO8RAianAJ97+hYOTwV3OvAAekcYn3f1Ahzf4ACeLjgz kUAHrjSmhs2F421lXxbgCfw= =gbg9 -----END PGP SIGNATURE-----

File last commit:

r536:c15b4bc0 default
r595:c2c2c6d6 default
Show More
test-diffdir
12 lines | 187 B | text/plain | TextLexer
#!/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/"