[MERGE] Show commit hook names during commit.
Robert Collins
robertc at robertcollins.net
Thu Jun 28 05:32:23 BST 2007
On Thu, 2007-06-28 at 14:16 +1000, Martin Pool wrote:
> > I
> > guess for debugging it would be better, but perhaps -Dhooks could always
> > show the repr instead ?
> > (I'd need a pointer at doing -D foodoo to do
> > this trivially).
>
> eg
>
> class LockDir:
> def _trace(self, format, *args):
> if 'lock' not in debug.debug_flags:
> return
> mutter(str(self) + ": " + (format % args))
I'll do this and send up a incremental patch. Incidentally is
debug.debug_flags isolated for tests? (reset during setUp and restored
in tearDown) ?
-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/20070628/124f18ed/attachment.pgp
More information about the bazaar
mailing list