[python-committers] Three wishes for Mercurial-Roundup integration

Ezio Melotti ezio.melotti at gmail.com
Thu Sep 1 15:14:28 CEST 2011


On Wed, Aug 31, 2011 at 8:44 PM, Ezio Melotti <ezio.melotti at gmail.com>wrote:

>
>
>> 2) When a bug number (#\d+) is not in the first line of the commit
>> message, no message is sent.  Is there a reason for this or is it a bug?
>>  (Note: I’m not sure about this one, I may misremember.)
>>
>>
> From a quick look at the code I don't see any obvious reason why this
> shouldn't work, if it really doesn't I guess it can be fixed.  (I prefer to
> always write the issue number at beginning of the line though.)
>
>
 I did a small test [0] and the regex seems to match fine[1] even when the
issue number is on the other lines.  However the log message sent to the
tracker is limited to the first line only.  This seems intentional (
'commit_msg': description.splitlines()[0]).

Best Regards,
Ezio Melotti

[0]: http://hg.python.org/test/rev/90586887032e
[1]: http://bugs.python.org/issue2771#msg143322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-committers/attachments/20110901/0aef1c08/attachment.html>


More information about the python-committers mailing list