title: HG Clone repository with subrepos without pulling
body: <p>I am trying to figure out how to clone a repository with subrepositories without pulling from the source. I'm afraid that, while I have read tutorials and examples, my Mercurial knowledge is tentative.</p>
  
  <p>Right now, the .hgsub  structure is a list of type: </p>
  
  <pre><code>subrepo = ssh://address/subrepo
  </code></pre>
  
  <p>Reading the answer to the post <a href="https://stackoverflow.com/questions/9427988/how-to-make-local-clone-without-pulling-subrepos-again">How to make local clone without pulling subrepos again?</a> I tried to change it to a list</p>
  
  <pre><code>subrepo = subrepo
  [subpaths]
  subrepo = ssh://address/subrepo
  
  hg clone c:\path\repo
  </code></pre>
  
  <p><code>hg update -R rev</code></p>
  
  <p>No matter what I do, I always end up pulling from the source (ssh) not the local subrepository contents. </p>
  
  <p>Note: As I tried to update my original repository, I got an error about duplicate paths, which only went away when I reverted my change in the .hgsub file.</p>
  
  <p>What else have I tried: </p>
  
  <p>An idea: making a duplicate copy of the repository, like copy and paste, and use hard links. Would that be a good idea ? Will I not end up making changes to the original files, when I change the copy ?</p>
  
  <p>Another idea: clone the .hg folders using hard links, and simply copy the rest of the contents ?</p>
  
  <p>Does anybody have a solution for this problem ?</p>