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

Matt Mackall mpm at selenic.com
Tue Oct 26 16:25:47 CDT 2010


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?


-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list