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

r8721:2816239e default
r10378:e1401c74 default
Show More
test-fncache
70 lines | 945 B | text/plain | TextLexer
Adrian Buehlmann
add test-fncache
r7290 #!/bin/sh
echo "% init repo1"
hg init repo1
cd repo1
echo
echo "% add a; ci"
echo "some text" > a
hg add
Martin Geisler
tests: removed redundant "-d '0 0'" from test scripts...
r8167 hg ci -m first
Adrian Buehlmann
add test-fncache
r7290
echo
echo "% cat .hg/store/fncache"
cat .hg/store/fncache
echo
echo "% add a.i/b; ci"
mkdir a.i
echo "some other text" > a.i/b
hg add
Martin Geisler
tests: removed redundant "-d '0 0'" from test scripts...
r8167 hg ci -m second
Adrian Buehlmann
add test-fncache
r7290
echo
echo "% cat .hg/store/fncache"
cat .hg/store/fncache
echo
echo "% add a.i.hg/c; ci"
mkdir a.i.hg
echo "yet another text" > a.i.hg/c
hg add
Martin Geisler
tests: removed redundant "-d '0 0'" from test scripts...
r8167 hg ci -m third
Adrian Buehlmann
add test-fncache
r7290
echo
echo "% cat .hg/store/fncache"
cat .hg/store/fncache
echo
echo "% hg verify"
hg verify
echo
echo "% rm .hg/store/fncache"
rm .hg/store/fncache
echo
echo "% hg verify"
hg verify
Benoit Boissinot
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
r8633 # try non store repo encoding
cd ..
echo % non store repo
hg --config format.usestore=False init foo
cd foo
mkdir tst.d
echo foo > tst.d/foo
hg ci -Amfoo
Will Maier
test-fncache: Use find instead of ls -R....
r8721 find .hg | sort
Benoit Boissinot
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
r8633
cd ..
echo % non fncache repo
hg --config format.usefncache=False init bar
cd bar
mkdir tst.d
echo foo > tst.d/Foo
hg ci -Amfoo
Will Maier
test-fncache: Use find instead of ls -R....
r8721 find .hg | sort
Benoit Boissinot
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
r8633
Adrian Buehlmann
add test-fncache
r7290 exit 0