tests/test-diffdir
author Jim Correia <jim.correia@pobox.com>
Sat, 14 Feb 2009 22:40:39 +0100
changeset 7762 fece056bf240
parent 4180 f80cf8b7bbd9
permissions -rwxr-xr-x
add --git option to commands supporting --patch (log, incoming, history, tip) No short -g form, since it would conflict with -g from the graphlog extension.

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