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

Pierre-Yves David pierre-yves.david at logilab.fr
Wed Oct 27 03:19:58 CDT 2010


On Tue, Oct 26, 2010 at 04:25:47PM -0500, Matt Mackall wrote:
> On Thu, 2010-10-21 at 16:06 -0500, steve at borho.org wrote:
> > [...]
> > 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?

We could use the solution choosed by qfold and concatenate them separated by
with a "**" marker.

--
Pierre-Yves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101027/076e13fa/attachment.pgp>


More information about the Mercurial-devel mailing list