##// END OF EJS Templates
copies: don't report copies with unrelated branch
copies: don't report copies with unrelated branch

File last commit:

r5951:92eb0a01 default
r10179:83cfa1ba stable
Show More
test-paths
10 lines | 162 B | text/plain | TextLexer
Jesse Glick
Ensure that absolutized paths from hgrc do not contain ../ segments.
r5943 #!/bin/sh
hg init a
hg clone a b
cd a
echo '[paths]' >> .hg/hgrc
echo 'dupe = ../b' >> .hg/hgrc
Bryan O'Sullivan
Simplify test-paths
r5951 hg in dupe | fgrep '../'
Jesse Glick
Ensure that absolutized paths from hgrc do not contain ../ segments.
r5943 cd ..
Bryan O'Sullivan
Simplify test-paths
r5951 hg -R a in dupe | fgrep '../'
Jesse Glick
Ensure that absolutized paths from hgrc do not contain ../ segments.
r5943 true