tests/test-diffdir
author mpm@selenic.com
Thu, 21 Jul 2005 15:05:17 -0500
changeset 749 7e4843b7efd2
parent 536 c15b4bc0a11c
child 774 6592c4f5cd4f
child 793 445970ccf57a
permissions -rwxr-xr-x
Update tests to use commit -m and default -u manifest hash: 6e4385453843031a712005a320d6000595b40d05

#!/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.*/\1/"

hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/"