view tests/test-diffdir @ 3875:729f354f3f09

zsh: better fix for partial completions Properly handle relative paths followed by partial filenames hg add ../path/to/file/partial[TAB]
author Steve Borho <steve@borho.org>
date Tue, 12 Dec 2006 15:34:11 -0600
parents 000d122071b5
children 4574a8cb080f
line wrap: on
line source

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