[PATCH 2 of 3] Patchbomb: Allow user to specify In-Reply-To for the first email
Hollis Blanchard
hollisb at us.ibm.com
Fri Nov 2 13:28:00 CDT 2007
On Thu, 2007-11-01 at 23:01 -0700, Bryan O'Sullivan wrote:
> Hollis Blanchard wrote:
>
> > Signed-off-by: Hollis Blanchard <hollisb at us.ibm.com>
>
> Patches formatted this way get applied by "hg import" with the above as
> the first line of the patch, so that's what shows up in "hg log" output.
hg help import says this:
From and Subject headers of email message are used as default
committer and commit message. All text/plain body parts before
first diff are added to commit message.
Experimentally, I don't see what you're complaining about. Importing
this patch:
From: author
Subject: line 1
line 2
--- /dev/null 2007-10-27 21:56:45.000000000 -0500
+++ a/foo 2007-11-02 13:24:45.000000000 -0500
@@ -0,0 +1 @@
+foo
Gives me this hg log:
changeset: 0:f306f8745695
tag: tip
user: author
date: Fri Nov 02 13:26:11 2007 -0500
summary: line 1
> Not good :( Please test changes like this with both "hg import" and
> "hg qpush", and ideally add a test.
Yeah, tests would be handy.
--
Hollis Blanchard
IBM Linux Technology Center
More information about the Mercurial-devel
mailing list