Matt Mackall
bc715be859
add __len__ and __iter__ methods to repo and revlog
2008-06-26 14:35:50 -05:00
Patrick Mezard
e6b5e91a5d
verify: check copy source revlog and nodeid
2008-04-14 22:31:33 +02:00
Joel Rosdahl
5dae3059a0
Expand import * to allow Pyflakes to find problems
2008-03-06 22:23:26 +01:00
Matt Mackall
a93c9d4d89
verify: improve handling of empty or missing files
...
- explicitly notice empty or missing changeset, manifest or file
revlogs
- shortcircuit warnings relating to missing changeset or manifest
revlogs
- fix changeset/manifest crosscheck swapped variables
- properly sort crosscheck messages
2007-11-20 15:46:20 -06:00
Matt Mackall
e38e06ffb3
verify: report first bad changeset
...
- add linkrev and file arguments to err
- track lowest reported linkrev in err
- find linkrev in a couple cases
- sort linkrevs when reporting a bunch of errors against a file
- tidy up lots of messages
- make more robust against damaged indexes
- report first bad changeset if an error is encountered
2007-09-21 17:18:06 -05:00
Matt Mackall
57b8fee517
verify: report expected linkrev
2007-08-15 16:55:15 -05:00
Matt Mackall
b4f06de2ba
remove unneeded imports of mdiff
2007-08-15 16:09:50 -05:00
Matt Mackall
3e13c68628
Use try/finally pattern to cleanup locks and transactions
2007-07-21 16:02:10 -05:00
Thomas Arendsen Hein
4d29c6dc8e
Updated copyright notices and add "and others" to "hg version"
2007-06-19 08:51:34 +02:00
Matt Mackall
cd2a1e0251
verify: hold write lock
...
Verify will report spurious errors if commits or pulls happen during verify.
2007-05-01 14:42:54 -05:00
Matt Mackall
04561e556e
revlog: simplify revlog version handling
...
- pass the default version as an attribute on the opener
- eliminate config option mess
2007-03-22 19:52:38 -05:00
Matt Mackall
296d6a7cb8
Simplify i18n imports
2006-12-14 20:25:19 -06:00
Matt Mackall
2ac5552785
verify: add rename link checking
2006-12-01 02:35:46 -06:00
Benoit Boissinot
3f09dfef56
use xrange instead of range
2006-10-19 14:16:51 +02:00
Brendan Cully
e54b369ac8
Abstract manifest block parsing.
2006-09-29 13:00:54 -07:00
Matt Mackall
d5009b5b05
Move repo.verify
2006-08-07 16:27:09 -05:00