##// END OF EJS Templates
templatekw: change {file_copies} behaviour, add {file_copies_switch}...
templatekw: change {file_copies} behaviour, add {file_copies_switch} {file_copies} template now displays file copies with or without the --copies switch being set. A new {file_copies_switch} template implements the former behaviour.

File last commit:

r8721:2816239e default
r10060:f780b109 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