tests/test-empty
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 26 Sep 2007 01:58:45 -0300
changeset 5338 f87685355c9c
parent 1338 2b77ea66fe70
permissions -rwxr-xr-x
revlog: fix revlogio.packentry corner case We want to store version information about the revlog in the first entry of its index. The code in packentry was using some heuristics to detect whether this was the first entry, but these heuristics could fail in some cases (e.g. rev 0 was empty; rev 1 descends directly from the nullid and is stored as a delta). We now give the revision number to packentry to avoid heuristics.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1338
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/sh
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     2
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     3
hg init
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     4
hg log
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     5
hg grep wah
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     6
hg manifest
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     7
hg verify