tests/test-diffdir
author Matt Mackall <mpm@selenic.com>
Tue, 05 Jul 2005 18:12:57 -0800
changeset 625 978011cf5279
parent 536 c15b4bc0a11c
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Cleanups for repo.pull Use repo.pull in pull and clone commands Teach clone about ssh:// (temporarily) Fix up shutil issue on failed pull

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