view tests/test-diffdir @ 4208:bd9b84b9a84b

Make [PATCH] removal slightly more robust
author Brendan Cully <brendan@kublai.com>
date Tue, 13 Mar 2007 21:54:34 -0700
parents 4574a8cb080f
children f80cf8b7bbd9
line wrap: on
line source

#!/bin/sh

hg init
hg branch dummy # needed so -r "" doesn't point to the unnamed/default branch
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