author | Brendan Cully <brendan@kublai.com> |
Mon, 12 Mar 2007 13:58:06 -0700 | |
changeset 4201 | 7e95381a9f1e |
parent 4200 | b5d1eaade333 |
child 4202 | b2873c587b1a |
--- a/mercurial/patch.py Sat Mar 10 23:21:33 2007 -0300 +++ b/mercurial/patch.py Mon Mar 12 13:58:06 2007 -0700 @@ -58,6 +58,10 @@ date = None if message: + if message.startswith('[PATCH'): + pend = message.find(']') + if pend: + message = message[pend+2:] message = message.replace('\n\t', ' ') ui.debug('Subject: %s\n' % message) if user: