[issue2951] Cannot clone google code project's default hg repo
Oleg Plakhotnyuk
bugs at mercurial.selenic.com
Thu Aug 11 08:10:17 CDT 2011
New submission from Oleg Plakhotnyuk <olegus8 at gmail.com>:
After following command execution:
hg clone -v --debug --trace http://code.google.com/p/smoothernity
I get this output:
using http://code.google.com/p/smoothernity
sending capabilities command
destination directory: smoothernity
sending heads command
requesting all changes
sending changegroup command
adding changesets
changesets: 1 chunks
add changeset 2abcce75357f
changesets: 2 chunks
add changeset be88c3677f50
...
changesets: 3498 chunks
add changeset b9b25b57deea
changesets: 3499 chunks
transaction abort!
rollback completed
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 87,
in _runcatch
return _dispatch(req)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 679,
in _dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 454,
in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 733,
in _runcommand
return checkargs()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 687,
in checkargs
return cmdfunc()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 676,
in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 385, in
check
return func(*args, **kwargs)
File "/Library/Python/2.5/site-packages/mercurial/commands.py", line 1041,
in clone
branch=opts.get('branch'))
File "/Library/Python/2.5/site-packages/mercurial/hg.py", line 334, in
clone
destrepo.clone(srcrepo, heads=revs, stream=stream)
File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line
1946, in clone
return self.pull(remote, heads)
File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line
1376, in pull
lock=lock)
File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line
1741, in addchangegroup
if (cl.addgroup(source, csmap, trp) is None
File "/Library/Python/2.5/site-packages/mercurial/revlog.py", line 1155,
in addgroup
chunkdata = bundle.deltachunk(chain)
File "/Library/Python/2.5/site-packages/mercurial/changegroup.py", line
192, in deltachunk
delta = readexactly(self._stream, l - self.deltaheadersize)
File "/Library/Python/2.5/site-packages/mercurial/changegroup.py", line
17, in readexactly
s = stream.read(n)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 825, in
read
for chunk in self.iter:
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 803, in
splitbig
for chunk in chunks:
File "/Library/Python/2.5/site-packages/mercurial/httprepo.py", line 23,
in zgenerator
raise IOError(None, _('connection ended unexpectedly'))
IOError: [Errno None] connection ended unexpectedly
abort: connection ended unexpectedly
I have tried several times during the day and it always aborts on the same
revision.
My hg client version is 1.9.1+20110801.
Python version is 2.5.1.
Opreationing system is Mac OS X 10.5.8.
Other project's repositories cloning works well:
hg clone http://code.google.com/p/smoothernity.wiki
hg clone http://code.google.com/p/smoothernity.media
I have noticed a constant at httprepo.py line 20:
yield zd.decompress(chunk, 2**18)
After I changed it to 2**30, clone command failed on changeset 3518 instead
of 3499.
I have set this issue priority to critical because I cannot work on my
project right now.
Thanks!
----------
messages: 17115
nosy: olegus
priority: critical
status: unread
title: Cannot clone google code project's default hg repo
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2951>
____________________________________________________
More information about the Mercurial-devel
mailing list