tests/test-diffdir
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 23 Jun 2007 20:21:10 +0200
changeset 4684 849f011dbf79
parent 4208 f80cf8b7bbd9
permissions -rwxr-xr-x
Remember path to 'hg' executable and pass to external tools and hooks as $HG.

#!/bin/sh

hg init
touch a
hg add a
hg ci -m "a" -d "1000000 0"

echo 123 > b
hg add b
hg diff --nodates

hg diff --nodates -r tip

echo foo > a
hg diff --nodates

hg diff -r ""
hg diff -r tip -r ""

true