Martin Geisler <mg@lazybytes.net> [Mon, 04 May 2009 22:14:52 +0200] rev 8297
util: stop overwriting sha1, overwrite _fastsha1 instead
Some modules (like revlog) would import util.sha1 as _sha1. This
defeats the purpose of having util.sha1 overwrite itself with a faster
version -- revlog would end up always calling the slow version. By
always delegating to util._fastsha1 we avoid this at the cost of an
extra (but unconditional) indirection.
Martin Geisler <mg@lazybytes.net> [Mon, 04 May 2009 21:30:39 +0200] rev 8296
util: remove md5
This hash function is broken and should not be used by new code. It is
currently only used by keepalive.
Sune Foldager <cryo@cyanite.org> [Mon, 04 May 2009 20:29:05 +0200] rev 8295
util: remove warnings when importing md5 and sha
Henrik Stuart <hg@hstuart.dk> [Mon, 04 May 2009 15:31:57 +0200] rev 8294
transaction: refactor transaction.abort and rollback to use the same code
This adds a change to the way that abort is processed, as it will not continue
truncating files beyond the first failure, otherwise the respective
functionality is maintained, i.e. abort will not unlink files, but rollback
will.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <henrik.stuart@edlund.dk> [Mon, 04 May 2009 13:47:12 +0200] rev 8293
test: change repair strip test to illustrate manifest errors
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 04 May 2009 19:51:08 +0200] rev 8292
verify: reference the correct linkrev when a filelog is missing
when a filelog is missing, the first bad revision is the first revision
where the filelog is referenced, not 0.
Henrik Stuart <hg@hstuart.dk> [Fri, 24 Apr 2009 10:44:39 +0200] rev 8291
verify: avoid exception on missing file revlog
Previously, accessing the filelinkrevs of a specific file that happens to
have already been unlinked from the filesystem, e.g. due to a partial rollback
having occurred, will trigger a KeyError being raised.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <hg@hstuart.dk> [Sun, 19 Apr 2009 20:02:32 +0200] rev 8290
transaction: reset transaction on abort
Prevent the use of the transaction after it has been aborted.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <hg@hstuart.dk> [Fri, 24 Apr 2009 09:56:53 +0200] rev 8289
transaction: ensure finished transactions are not reused
All transactional methods on the transaction class have had a decorator
added that ensures the transaction is running.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Simon Heimberg <simohe@besonet.ch> [Mon, 04 May 2009 03:49:57 +0200] rev 8288
mq: simpler check of first character of guard name