##// 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:

r6651:7f0dd352 default
r10378:e1401c74 default
Show More
test-symlink-addremove
15 lines | 222 B | text/plain | TextLexer
/ tests / test-symlink-addremove
Maxim Dounin
addremove: correctly handle intermediate symlinks...
r6651 #!/bin/sh
"$TESTDIR/hghave" symlink || exit 80
hg init a
cd a
echo '% directory moved and symlinked'
mkdir foo
touch foo/a
hg ci -Ama
mv foo bar
ln -s bar foo
echo '% now addremove should remove old files'
hg addremove