[PATCH] import: --no-commit should update .hg/last-message.txt

Steve Borho steve at borho.org
Tue Oct 26 16:34:26 CDT 2010


On Tue, Oct 26, 2010 at 4:25 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Thu, 2010-10-21 at 16:06 -0500, steve at borho.org wrote:
>> # HG changeset patch
>> # User Steve Borho <steve at borho.org>
>> # Date 1287695074 18000
>> # Branch stable
>> # Node ID 9b1026dc2da28ac4681d5d67ceaad9406e6b0d5e
>> # Parent  3d6ba8c2b1b857f77a8f265b71fa2db35c9fba67
>> import: --no-commit should update .hg/last-message.txt
>>
>> The patch parser goes through all of that trouble extracting the
>> commit message from the patch file.  It seems such a waste not to
>> use it.
>
> Interesting proposal (for post-1.7). What happens if we import more than
> one patch?

Good point; we could collect them together as one commit message much
as qfold works.

-- 
Steve Borho


More information about the Mercurial-devel mailing list