title: How to edit Mercurial commit message after branching?
body: <p>I have some old commit messages in a Mercurial repository that should be changed (to adjust for some new tools). I already understand that this hacking has to be done on the master repository and all local repositories would have to be re-cloned, because checksums of all subsequent changesets will also change.</p>
  
  <p>I've tried following the recipes in "<a href="https://stackoverflow.com/questions/623052/how-to-edit-incorrect-commit-message-in-mercurial">How to edit incorrect commit messages in Mercurial?</a>", but with MQ extension I got stuck on error message </p>
  
  <pre><code>X:\project&gt;hg qimport -r 2:tip
  abort: revision 2 is the root of more than one branch
  </code></pre>
  
  <p>and with Histedit quite similarly</p>
  
  <pre><code>X:\project&gt;hg histedit 2
  abort: cannot edit history that would orphan nodes
  </code></pre>
  
  <p>The problem seems to be that there have been branches created after the changeset.</p>
  
  <p>I can see how it would become messy if I'd want to change the contents of patch, but perhaps there's a workaround that I've missed for editing the commit message?</p>