changing repository history

Manlio Perillo manlio_perillo at libero.it
Fri Aug 31 12:03:14 CDT 2007


Benoit Boissinot ha scritto:
> [...]
> 
> It is not possible to change the history, everything is hashed
> recursively so changing a single byte in the commit message will
> invalidate the hash.
> 
> What you can do is use/hack convert to do that, with a hg -> hg
> conversion (I believe you can already do the filtering, I'm not sure
> what is the best way to do change the commit message).
> 
> regards,
> 

One possible solution is to use a commit messages map, like it is done 
with authors.

I'm reading the convert source code, but I can't find where the authors 
map is used.


> Benoit
> 

Thanks and regards  Manlio Perillo


More information about the Mercurial mailing list