##// END OF EJS Templates
convert: add bzr source
convert: add bzr source

File last commit:

r5951:92eb0a01 default
r7053:209ef5f3 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