title: Cloning using Tortoise-Hg abort in middle[command returned code 255]
body: <p>I am using <a href="http://tortoisehg.bitbucket.io/download/" rel="nofollow noreferrer">Tortoise-Hg</a> for <strong>cloning a fork</strong> from <a href="http://nearforums.codeplex.com/SourceControl/changeset/view/c1f7efa1d5b1" rel="nofollow noreferrer">CodePlex</a> and <strong>cloning stops in the middle of the process</strong>. I have tried it more than <strong>6</strong> times and it does have a problem.</p>
  
  <p>I am using the <strong>visual client of Tortoise-Hg</strong> and I gave the source as <code>https://hg.codeplex.com/forks/xxx/xxxx</code> and selected a destination </p>
  
  <p>First used <strong>compressed</strong> method</p>
  
  <p>This is what appeared in the command prompt</p>
  
  <pre><code> % hg clone --verbose -- https://hg.codeplex.com/forks/xxx/xxxx xxxx
  </code></pre>
  
  <p>But the process start quite fast and then it get hung up. </p>
  
  <pre><code>requesting all changes
  adding changesets[Happen Fast]
  adding manifests[Happen Fast]
  adding file changes[Hangs in the middle]
  transaction abort!
  rollback completed
  abort: stream ended unexpectedly (got 147721 bytes, expected 422805)
  [command returned code 255 Sun Mar 31 15:52:26 2013]
  </code></pre>
  
  <p>Then I tried <strong>uncompressed</strong> method </p>
  
  <pre><code> % hg clone --uncompressed --verbose -- https://hg.codeplex.com/forks/xxx/xxxx xxxx
  </code></pre>
  
  <p>That also stops in the middle of the process.</p>
  
  <pre><code>streaming all changes
  4033 files to transfer, 37.2 MB of data
  abort: unexpected response from remote server: empty string
  [command returned code 255 Sun Mar 31 15:22:44 2013]
  </code></pre>
  
  <p>I tried it the 7th time and It went far more than previous tries but got more bytes <code>got 74673 bytes, expected 256973</code></p>
  
  <p>What is the wrong with this, I have used same version of Tortoise-Hg before for cloning <a href="http://nearforums.codeplex.com/SourceControl/changeset/view/c1f7efa1d5b1" rel="nofollow noreferrer">CodePlex</a> projects. This is very time consuming. Is there something wrong of what I am doing?. How can I resolve this issue?</p>