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

r1933:7544700f default
r2082:856f0ba2 default
Show More
test-empty-dir
16 lines | 281 B | text/plain | TextLexer
mpm@selenic.com
Remove empty directories on update...
r578 #!/bin/sh
hg init
echo 123 > 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 "first" -d "1000000 0" a
mpm@selenic.com
Remove empty directories on update...
r578 mkdir sub
echo 321 > sub/b
hg add sub/b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "second" -d "1000000 0" sub/b
mpm@selenic.com
Remove empty directories on update...
r578 cat sub/b
hg co 0
Peter van Dijk
changes by John Levon to standardize some erroroutput
r1926 cat sub/b 2>/dev/null || echo "sub/b not present"
ls sub 2>/dev/null || echo "sub not present"
mpm@selenic.com
Remove empty directories on update...
r578
true