[MERGE] the -Devil is in the details
Robert Collins
robertc at robertcollins.net
Mon Aug 20 04:59:24 BST 2007
More precisely, we want to eliminate whole classes of calls from bzr,
things like full tree iterators, all-history grabbing methods etc.
So this patch lets them be easily marked as bad using '''
if evil in debug.debug_options:
mutter_callsite(1, "Foo-bar was called with %s %s", arg1, arg2)
'''
Which will log:
Foo-bar was called with arg1 arg2
Call trace:
... a python stack here...
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devil.patch
Type: text/x-patch
Size: 11058 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070820/a9b7dff3/attachment.bin
-------------- 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/20070820/a9b7dff3/attachment.pgp
More information about the bazaar
mailing list