tests/test-paths
author Patrick Mezard <pmezard@gmail.com>
Sun, 09 May 2010 21:45:00 +0200
changeset 11132 321b8b2aa20f
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
convert/svn: list files explicitely, stop checking their type We do not care about directories when looking for recursively added or removed items, and the redundant _checkpath() call is expensive with remote repositories.

#!/bin/sh
hg init a
hg clone a b
cd a
echo '[paths]' >> .hg/hgrc
echo 'dupe = ../b' >> .hg/hgrc
hg in dupe | fgrep '../'
cd ..
hg -R a in dupe | fgrep '../'
true