view tests/test-paths @ 7528:eadcc075967e

archive: fix bogus error message with no working directory
author Matt Mackall <mpm@selenic.com>
date Fri, 19 Dec 2008 16:48:31 -0600
parents 92eb0a019bf2
children
line wrap: on
line source

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