Setting inventory_sha1 to "" ?
Jelmer Vernooij
jelmer at samba.org
Sun Mar 23 15:53:04 GMT 2008
Over the last couple of days I've done some performance analysis on
bzr-svn. The inventory sha1 in particular
Revision.__eq__ uses the inventory_sha1 to determine whether to
revisions are equal which requires bzr-svn to go out and fetch a
snapshot of the revision in question.
Not calculating the inventory sha1 during fetch saves us some time
because it would get rid of serializing the inventory just to get the
sha1.
Returning the inventory sha1 in bzr-svn doesn't actually make sense
since the code that generates the inventory xml uses the exact same code
as the code path that creates the sha1 of it.
I would like to set inventory_sha1 to simply "" in bzr-svn. Can that be
done without breaking anything?
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080323/d75c3019/attachment.pgp
More information about the bazaar
mailing list