Can't clone to Windows machine
Matt Mackall
mpm at selenic.com
Sat May 21 21:47:16 UTC 2011
On Sun, 2011-05-22 at 00:19 +0300, Alexandros Karypidis wrote:
> I've been using a Mercurial server (hgweb) on my Linux (CentOS 5.5)
> desktop to store some files. My laptop (WinXP) is the only client
> pushing/pulling from that server. I have 2 repositories there.
> Suddenly,
> one of them stopped working. I was using Mercurial 1.7.2 on both
> server
> and client, so I upgraded to 1.8.2 (on both) but the problem
> persists.
> What happens is (from windows cmd prompt) that I get a " stream
> ended
> unexpectedly (got 17695 bytes, expected 31551)". You can see details
> below.
>
> The weird thing is that the repository is not corrupted. I can clone
> it
> from Linux --> Linux. This only happens when I try to clone to the
> Windows
> client. Here's the debug output:
>
> D:\ade\hg clone --debug http://myserver/hg/my-repo my-repo-local
> using http://myserver/hg/my-repo
> proxying through http://localhost:3128
> sending between command
> http authorization required
> realm: Mercurial repository access control
> user: http auth: user myaccount, password *******
> sending heads command
> http auth: user myaccount , password *******
> requesting all changes
> sending changegroup command
> http auth: user myaccount , password *******
> adding changesets
> changesets: 1 chunks
> add changeset ec2d549d15f7
> ...
> changesets: 68 chunks
> add changeset f46b52810811
> adding manifests
> manifests: 1/68 chunks (1.47%)
> ...
> manifests: 68/68 chunks (100.00%)
> adding file changes
> adding .hgignore revisions
> files: 1/87 chunks (1.15%)
> adding .hgtags revisions
> files: 2/87 chunks (2.30%)
> ...
> files: 80/87 chunks (91.95%)
> transaction abort!
> rollback completed
> abort: stream ended unexpectedly (got 17695 bytes, expected 31551)
This is almost certainly something specific to your Windows environment
(personal firewall?) or the network between your machines (transparent
proxy?).
Does it always fail at the same point?
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list