##// END OF EJS Templates
Additional appendfile fixes for interleaved data/index files...
Additional appendfile fixes for interleaved data/index files The appendfile code was not passing default version info to the changelog or manifest classes, and so they were always being created as version 0. revlog.checkinlinesize had to be corrected to seek to the end of the index file when no index file was passed (only clone does this)

File last commit:

r1986:719cf07b default
r2082:856f0ba2 default
Show More
test-tags
43 lines | 650 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add a tags/identify test group...
r345
mkdir t
cd t
hg init
hg id
echo a > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "test" -d "1000000 0"
mpm@selenic.com
Add a tags/identify test group...
r345 hg co
hg identify
mpm@selenic.com
run-tests: remove '+ hg' trick...
r925 T=`hg tip -v | head -n 1 | cut -d : -f 3`
mpm@selenic.com
Add a tags/identify test group...
r345 echo "$T first" > .hgtags
cat .hgtags
hg add .hgtags
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "add tags" -d "1000000 0"
mpm@selenic.com
Add a tags/identify test group...
r345 hg tags
hg identify
echo bb > a
hg status
hg identify
hg co first
hg id
hg -v id
hg status
echo 1 > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "branch" -d "1000000 0"
mpm@selenic.com
Add a tags/identify test group...
r345 hg id
hg co -m 1
hg id
hg status
Benoit Boissinot
add checking for invalid entries in tag files...
r1986 hg commit -m "merge" -d "1000000 0"
# invalid tags
echo "spam" >> .hgtags
echo >> .hgtags
echo "foo bar" >> .hgtags
echo "$T invalid" | sed "s/..../a5a5/" >> .hg/localtags
hg commit -m "tags" -d "1000000 0"
hg tags
hg tip