[MERGE] the -Devil is in the details

Robert Collins robertc at robertcollins.net
Tue Aug 21 01:56:31 BST 2007


On Mon, 2007-08-20 at 11:15 +0200, Marius Kruger wrote:
> On 8/20/07, Robert Collins <robertc at robertcollins.net> wrote:
> ...
> 
>         if evil in debug.debug_options:
>             mutter_callsite(1, "Foo-bar was called with %s %s", arg1,
>         arg2)
>         '''
> 
> maybe make another mutter method or something like
> mutter_evil() 
> 
> which can do the `if evil in debug.debug_options` part, 
> which it seems, will be repeated a lot.

We could; as this is unlikely to be in inner loops. I'd like to have it
print something at the end of the run too e.g.
$ bzr -Devil pull
Pulled 2 new revision(s).
Unclean! 3 evil operations detected
... fix them up
$ bzr -Devil pull
Pulled 2 new revisions(s).
No evil found.

-Rob
-- 
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/20070821/ca669316/attachment.pgp 


More information about the bazaar mailing list