[PATCH 0 of 3] mq: handle the User and Date fields consistently in qrefresh, v2

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Sat Aug 8 20:57:39 UTC 2009


This patch series makes mq consitently handle the author and date fields
when qrefresh-ing patches.


First patch fixes an obvious coding style issue (missing space after
comma) in the code that updates an existing '# User' field.

Second patch makes qrefresh [-u|-U] insert a Mercurial extended format
'# User' field, instead of adding an email-like 'From:' field, if that
field was completely missing in the patch comments. If a From: field
already exists, it is just updated.

Third patch makes qrefresh [-d|-D] insert a Mercurial extended format
'# Date' field, if that field was completely missing in the patch
comments. If a Date: field already exists, it is just updated. This
patch comes in response to issue #1768:
  mq: use date from last qrefresh as commit date, not date from last qpush
  http://mercurial.selenic.com/bts/issue1768


Changes since v1:
- fix coding style errors
- fix comment message




More information about the Mercurial-devel mailing list