tests/test-diffdir
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 05 Feb 2009 17:40:25 +0100
changeset 7727 25fc4c620e54
parent 4180 f80cf8b7bbd9
permissions -rwxr-xr-x
demandimport: patch __builtin__ instead of __builtins__ This helps on implementations other than CPython, where __builtins__ isn't necessarily defined (as it's an implementation detail for CPython).

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