view tests/test-diffdir @ 4233:03a665f9f913

util._matcher: use "." as the root of empty {rel,}path patterns Should fix issue332. Really.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Mar 2007 22:48:20 -0300
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