##// END OF EJS Templates
Merge with crew-stable
Merge with crew-stable

File last commit:

r5951:92eb0a01 default
r8166:56719b1a merge default
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