[Python-Dev] Mercurial migration: help needed

Stephen J. Turnbull stephen at xemacs.org
Sun Sep 6 09:56:08 CEST 2009


Dirkjan Ochtman writes:
 > On 05/09/2009 16:59, Stephen J. Turnbull wrote:
 > > git has a nice filter-branch command, which would allow you to
 > > automatically repair the problem (it works basically by checking out
 > > each changeset and rerecording it with the appropriate commands).  I
 > > know bzr is growing something similar, so presumably it is or will
 > > soon be available in hg.
 > 
 > That means you change hashes on the server side, without human feedback. 
 > Let's try not to subvert the immutability design that Mercurial tries to 
 > encourage.

No, I mean the server refuses to accept it and the submitter can fix
it easily (with mq or histedit as Martin G points out), then resubmit.

In any case Mercurial's notion of immutability is unsustainable in
practice, as the plethora of extensions which mutate history
testifies.


More information about the Python-Dev mailing list