##// END OF EJS Templates
test-share: Solaris sed can't handle never-ending lines
test-share: Solaris sed can't handle never-ending lines

File last commit:

r5951:92eb0a01 default
r10082:66d8ec33 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