view tests/test-diffdir @ 4253:9e3e975258a9

tests: expand test-commit a bit to test 'hg commit .' too
author Giorgos Keramidas <keramida@ceid.upatras.gr>
date Sun, 18 Mar 2007 22:49:05 +0200
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