mercurialtortoisehgcodeplex

Cloning using Tortoise-Hg abort in middle[command returned code 255]


I am using Tortoise-Hg for cloning a fork from CodePlex and cloning stops in the middle of the process. I have tried it more than 6 times and it does have a problem.

I am using the visual client of Tortoise-Hg and I gave the source as https://hg.codeplex.com/forks/xxx/xxxx and selected a destination

First used compressed method

This is what appeared in the command prompt

 % hg clone --verbose -- https://hg.codeplex.com/forks/xxx/xxxx xxxx

But the process start quite fast and then it get hung up.

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]

Then I tried uncompressed method

 % hg clone --uncompressed --verbose -- https://hg.codeplex.com/forks/xxx/xxxx xxxx

That also stops in the middle of the process.

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]

I tried it the 7th time and It went far more than previous tries but got more bytes got 74673 bytes, expected 256973

What is the wrong with this, I have used same version of Tortoise-Hg before for cloning CodePlex projects. This is very time consuming. Is there something wrong of what I am doing?. How can I resolve this issue?


Solution

  • I have managed to do the cloning, Internet connection was the reason. Internet was heavy for me during the initial trails. That's what have caused the problem. Now since the internet connection is in quite good level of speed, Cloning worked fine. There were no hangings. If you are facing the same issue, Basic check is a good internet connection. Hope this will help someone.

    Edit: This has again happened to me, But this time I tried cloning using command prompt. It also worked fine. :)