title: Fast-forward branch in mercurial
body: <p>For some reason, I have following situation:</p>
  
  <p><img src="https://i.stack.imgur.com/y6byT.png" alt="enter image description here"></p>
  
  <p>Now I want to get rid of <code>default_2</code> and fast-forward <code>default</code> to rev 89. But when I do</p>
  
  <pre><code>hg up -r default
  hg transplant 61:89
  </code></pre>
  
  <p>or</p>
  
  <pre><code>hg transplant -b default_2
  </code></pre>
  
  <p>Mercurial (1.8.2+20110401) just updates my working copy to rev 89. With <code>mq</code> extension it looks like I have to specify all intermediate revisions one-by-one.</p>
  
  <p>So the questions are:</p>
  
  <ol>
  <li>Why doesn’t <code>transplant</code> work? (It’s recommended here: <a href="https://www.mercurial-scm.org/wiki/RebaseProject#When_rebase_is_not_allowed" rel="nofollow noreferrer">https://www.mercurial-scm.org/wiki/RebaseProject#When_rebase_is_not_allowed</a>)</li>
  <li>Is there a way to fast-forward without much pain?</li>
  </ol>