##// END OF EJS Templates
Use revlogng and inlined data files by default...
Use revlogng and inlined data files by default This changes revlog specify revlogng by default. Inlined data files are also used unless a flags option is found in the .hgrc. Some example hgrc files: [revlog] # use the original revlog format format=0 [revlog] # use revlogng. Because no flags are included, inlined data files # also be selected format=1 [revlog] # use revlogng but do not inline the data files with the index flags= [revlog] # the new default format=1 flags=inline

File last commit:

r1933:7544700f default
r2222:c9e264b1 default
Show More
test-copy
30 lines | 701 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add hg copy...
r363
hg init
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 "1" -d "1000000 0"
mpm@selenic.com
Add hg copy...
r363 hg status
hg copy a b
hg status
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg --debug commit -m "2" -d "1000000 0"
mpm@selenic.com
Update tests
r1043 echo "we should see two history entries"
hg history -v
echo "we should see one log entry for a"
mpm@selenic.com
Add hg copy...
r363 hg log a
mpm@selenic.com
Update tests
r1043 echo "this should show a revision linked to changeset 0"
hg debugindex .hg/data/a.i
echo "we should see one log entry for b"
hg log b
echo "this should show a revision linked to changeset 1"
hg debugindex .hg/data/b.i
echo "this should show the rename information in the metadata"
Peter van Dijk
changes by John Levon to standardize some erroroutput
r1926 hg debugdata .hg/data/b.d 0 | head -3 | tail -2
mpm@selenic.com
Update tests
r1043
Peter van Dijk
fix testsuite for freebsd and one timingissue
r1923 $TESTDIR/md5sum.py .hg/data/b.d
mpm@selenic.com
Fix pipe timing for copy test...
r462 hg cat b > bsum
Peter van Dijk
fix testsuite for freebsd and one timingissue
r1923 $TESTDIR/md5sum.py bsum
mpm@selenic.com
Fix pipe timing for copy test...
r462 hg cat a > asum
Peter van Dijk
fix testsuite for freebsd and one timingissue
r1923 $TESTDIR/md5sum.py asum
mpm@selenic.com
Add hg copy...
r363 hg verify