##// END OF EJS Templates
subrepo: change default path in hgrc of subrepo after cloning...
subrepo: change default path in hgrc of subrepo after cloning Previous behavior was to put in the cloned subrepos the path found in the original main repo. However it isn't valid for relative path and it seems more logical to reference instead the subrepos working copy path of the original main repo.

File last commit:

r7681:c6f3ff29 default
r10378:e1401c74 default
Show More
test-audit-path
48 lines | 696 B | text/plain | TextLexer
Bryan O'Sullivan
Make audit_path more stringent....
r5158 #!/bin/sh
hg init
echo % should fail
hg add .hg/00changelog.i
mkdir a
echo a > a/a
hg ci -Ama
ln -s a b
echo b > a/b
echo % should fail
hg add b/b
echo % should succeed
hg add b
echo % should still fail - maybe
hg add b/b
Peter Arrenbrecht
test-audit-path: add more tests (issue 1450)
r7554 echo % unbundle tampered bundle
hg init target
cd target
hg unbundle $TESTDIR/tampered.hg
echo % attack .hg/test
hg manifest -r0
hg update -Cr0
echo % attack foo/.hg/test
hg manifest -r1
hg update -Cr1
echo % attack back/test where back symlinks to ..
hg manifest -r2
hg update -Cr2
echo % attack ../test
hg manifest -r3
hg update -Cr3
Peter Arrenbrecht
test-audit-path: add one more test (issue 1450)
r7586 echo % attack /tmp/test
hg manifest -r4
Dirkjan Ochtman
tests: fix issue in test-audit-path with HGTMP on OS X
r7681 hg update -Cr4 2>&1 | sed -e "s|/.*/test-audit-path|[HGTMP]/test-audit-path|"
Peter Arrenbrecht
test-audit-path: add one more test (issue 1450)
r7586
Bryan O'Sullivan
Make audit_path more stringent....
r5158 exit 0