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

Zorba cr at altmore.co.uk
Fri Jan 2 09:34:33 CST 2009


Hi Pascal,

Thanks, that's great. I'll set aside some time for a more in-depth read.
Good to know there is acess to lower level tools also.

Z.

"Pascal Quantin" <pascal.quantin at free.fr> wrote in message 
news:495E16B2.8020302 at free.fr...
Zorba a écrit :
> I'm presuming that because of the SHA1 hash this is impossible, but just
> maybe....?
>
> I think in git one could rewrite history, but it was only for ppl who knew
> what they were doing, as it changed the hash and therefore the IDs of 
> object
> (presumably the whole way down the linked list of chained versions).
>
> I've made some commits and would like to go back and put some more 
> detailed
> info into the commits describing the changes.
>
>
Hi,
please have a look here:
http://www.selenic.com/mercurial/wiki/index.cgi/EditingHistory
You will find a few methods to achieve your request.

Regards,
Pascal.

> I know I could use tags but I'd prefer not to, as they're not as closely
> tied to the object as in git (seem to lag a version "behind" if you know
> what i mean).
>
> I've looked through all the commands in man page and none seem appropriate
> so I'm guessing the answer is NO, but posting here in case I've missed
> something.
>
> many thanks
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>





More information about the Mercurial mailing list