tests/test-diffdir
author Shun-ichi GOTO <shunichi.goto@gmail.com>
Wed, 09 Jan 2008 21:30:35 +0900
changeset 5843 83c354c4d529
parent 4180 f80cf8b7bbd9
permissions -rwxr-xr-x
Add endswithsep() and use it instead of using os.sep and os.altsep directly. This change is intended to allow hooking endswithsep() by win32mbcs extension for MBCS support.

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