monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] [PATCH] Make "mtn log" show the signer of changelog/com


From: Richard Laager
Subject: [Monotone-devel] [PATCH] Make "mtn log" show the signer of changelog/comment certs
Date: Sat, 05 Jan 2008 11:47:42 -0600

The Pidgin project has been using --author to credit patch submitters.
Currently, though, it's not very easy to tell who committed the revision
when looking at log messages. I also find it odd to see a patch with an
author of "Bob" and a changelog message of "A patch from Bob that does
[blah]. I modified this a bit, ....". Additionally, you can't easily
tell who used "mtn comment".

The attached patch solves these three issues by displaying the signer of
the cert when the cert is multiline. This is currently only the case for
changelog and comment certs. I think this behavior is likely to be
desired if further multiline certs were added to the log output. Plus,
the function I modified is internal to this file anyway.

Richard

Here's an example the change; it's just the ChangeLog line that differs:

o   -----------------------------------------------------------------
|   Revision: 1666e4ac675420b25c9763e9e38caac93d16c5b0
|   Ancestor: fc87a0a058f0e03b2193c74fe82ebeb51532576e
|   Author: address@hidden
|   Date: 2008-01-05T16:32:40
|   Branch: im.pidgin.pidgin
|   
|   Modified files:
|           COPYRIGHT ChangeLog pidgin/gtkconv.c
|   
|   ChangeLog: 
|   
|   Save the conversation "Enable Logging" option per-contact.

vs.

o   -----------------------------------------------------------------
|   Revision: 1666e4ac675420b25c9763e9e38caac93d16c5b0
|   Ancestor: fc87a0a058f0e03b2193c74fe82ebeb51532576e
|   Author: address@hidden
|   Date: 2008-01-05T16:32:40
|   Branch: im.pidgin.pidgin
|   
|   Modified files:
|           COPYRIGHT ChangeLog pidgin/gtkconv.c
|   
|   ChangeLog (by address@hidden):
|   
|   Save the conversation "Enable Logging" option per-contact.

Attachment: mtn-show-signer-on-multiline-certs-in-logs.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]