[MERGE] Extend -Dhpss to emit a count of HPSS calls to stderr

Robert Collins robertc at robertcollins.net
Fri Sep 26 01:41:15 BST 2008

On Fri, 2008-09-26 at 09:17 +1000, Andrew Bennetts wrote:
> I considered using repr(medium) as the dict key, but it isn't robust.
> It's
> possible (if unlikely) for two media to have the same repr: memory
> addresses get
> re-used, and also someone might one day decide to change
> SmartClientMedium's
> repr to omit the id.
> It is harder, but not *that* much harder, to do it robustly with
> weakrefs, so I
> did.

I thought there was a weakref dict supplied by python that will
JustWork ?

GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080926/74491545/attachment.pgp 

More information about the bazaar mailing list