tests/test-diffdir
author Martin Geisler <mg@lazybytes.net>
Sat, 12 Dec 2009 16:46:16 +0100
branchstable
changeset 10042 7cdd2a7db2c2
parent 4180 f80cf8b7bbd9
permissions -rwxr-xr-x
config: raise ConfigError on non-existing include files Before, an %include directive for a non-existing file resulted in an IOError and a traceback.

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