title: Can I squash commits in Mercurial?
body: <p>I have a pair of commits that should really be just one. If I was using git, I would use:</p>
  
  <pre><code>git rebase -i &lt;some-commit-before&gt;
  </code></pre>
  
  <p>and then squash them.</p>
  
  <p>Can I do that in mercurial? If so, how?</p>