tests/test-diffdir
author mpm@selenic.com
Fri, 01 Jul 2005 14:46:31 -0800
changeset 568 e8fd41110dce
parent 536 c15b4bc0a11c
child 749 7e4843b7efd2
permissions -rwxr-xr-x
[PATCH] Add tags to hgweb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Add tags to hgweb From: Goffredo Baroncelli <kreijack@libero.it> manifest hash: 3a59c363799c974b042dbb55f943d830feb1b34f -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxcfHywK+sNU5EO8RAgEKAJ40SRMOyBOkbS8QU2MIBUzBnhu5AwCbBDjR M+gaWyqzqOBzO1r+9zpb37k= =l1pL -----END PGP SIGNATURE-----

#!/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/"