tests/test-diffdir
author mpm@selenic.com
Thu, 21 Jul 2005 12:23:55 -0500
changeset 745 9246ae925d57
parent 536 c15b4bc0a11c
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Add -m for commit and deprecate -t Index: hg/doc/hg.1.txt ===================================================================

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