is it possible to edit the commit message after the commit ?

Martin Geisler mg at daimi.au.dk
Fri Jan 9 06:09:14 CST 2009


Yves Dorfsman <yves at zioup.com> writes:

> Zorba wrote:
>> unfortunately the commit I'd like to change the error msg for is several 
>> commits ago, and I don't want to undo the whole chain
>
> There is a long (very long) winded way, and it will change the sha1's
> on all the successive change sets (not so good if you've shared your
> changes).

I think the MQ recipe given here is easier:

  http://www.selenic.com/mercurial/wiki/index.cgi/EditingHistory

It works when the changesets form a linear path to the tip, so no
merges.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090109/12f7ecfe/attachment.pgp 


More information about the Mercurial mailing list