view tests/test-issue1089 @ 7137:0c63b87d9bce

util: handle EINVAL in _statfiles_clustered() Raised when osutil.listdir is called on a non-directory entry.
author Patrick Mezard <pmezard@gmail.com>
date Sat, 18 Oct 2008 20:50:08 +0200
parents 2268edff1bec
children
line wrap: on
line source

#!/bin/sh

hg init a
cd a
mkdir a
echo a > a/b
hg ci -Am m
hg rm a
hg ci -m m a

mkdir a b
echo a > a/b
hg ci -Am m
hg rm a
cd b
# relative delete
hg ci -m m ../a