[Bug 4453] New: mq no longer puts blank line between From: and commit message in plain=True patch headers

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Nov 15 14:26:42 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4453

          Priority: normal
            Bug ID: 4453
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: mq no longer puts blank line between From: and commit
                    message in plain=True patch headers
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: dbaron at dbaron.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: mq
           Product: Mercurial

I have mq configured with:

[mq]
plain = True

in my ~/.hgrc (so that I don't get churn from parent lines in my version
controlled patch queue).

Between mercurial 3.1.2 and mercurial 3.2 there was a change in the format of
the patch headers.  In 3.1.2 and earlier (except for a brief period a number of
years ago), the command hg qnew -m"Test message." test would result in a patch
that started with:

>From: L. David Baron <dbaron at dbaron.org>
>
>Test message.
>
>diff ...

Now, in mercurial 3.2 and 3.2.1, there's no blank line:

>From: L. David Baron <dbaron at dbaron.org>
>Test message.
>
>diff ...

Given the changelog in
http://mercurial.selenic.com/wiki/WhatsNew#Mercurial_3.2_.282014-11-01.29 , it
seems like this change may have been unintentional.  I preferred it with the
blank line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list