title: Retrieve old version of a file without changing working copy parent
body: <p>How do you get a copy of an earlier revision of a file in Mercurial without making that the new default working copy of the file in your workspace?</p>
  
  <p>I've found the <code>hg revert</code> command and I think it does what I want but I'm not sure.</p>
  
  <p>I need to get a copy of an earlier revision of my code to work with for a few minutes. But I don't want to disturb the current version which is working fine.</p>
  
  <p>So I was going to do this:</p>
  
  <pre><code>hg revert -r 10 myfile.pls
  </code></pre>
  
  <p>Is there a way to output it to a different directory so my current working version of the file is not disturbed? Something like:</p>
  
  <pre><code>hg revert -r 10 myfile.pls &gt; c:\temp\dump\myfile_revision10.pls
  </code></pre>