tests/test-diffdir
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 29 Oct 2006 13:08:10 +0100
changeset 3580 41989e55fa37
parent 3192 096f1c73cdc3
child 3822 000d122071b5
permissions -rwxr-xr-x
allow update to switch to a different branch if the repo is clean

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