[PATCH] util: overwrite sha1 and _fastsha1

Martin Geisler mg at lazybytes.net
Fri May 8 03:53:09 CDT 2009


Simon Heimberg <simohe at besonet.ch> writes:

> # HG changeset patch
> # User Simon Heimberg <simohe at besonet.ch>
> # Date 1241769555 -7200
> # Node ID 1d367ecd23a3f335d35bc727b69138a30cd7c4c5
> # Parent  b41ce5fc6ed3cfff8906397af198281766c33f79
> util: overwrite sha1 and _fastsha1

Hey, that's clever! :-) This way normal callers of util.sha1 will get
the hashlib.sha directly and revlog can still cache util.sha1 as _sha1.

It's in crew as revision 4ff63d699256, thanks!

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090508/7cd0957d/attachment.pgp 


More information about the Mercurial-devel mailing list