title: How to revert last commits and keep changes in mercurial?
body: <p>I have three commits 1, 2 and 3. How can I rollback 2 and 3 and still keep the changed files of them??</p>
  
  <pre><code>1---2---3
  
  =&gt; 1 and changed files of 2 and 3
  </code></pre>