[issue1088] exception when cloning
Vladimir
mercurial-bugs at selenic.com
Tue Apr 15 12:56:43 CDT 2008
New submission from Vladimir <Vladimir.Kvashin at Sun.COM>:
When cloning http://hg.netbeans.org/release61,
I've got the following exception:
estination directory: release61
requesting all changes
adding changesets
adding manifests
transaction abort!
rollback completed
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0)
Traceback (most recent call last):
File "/opt/csw/bin/hg", line 20, in <module>
mercurial.dispatch.run()
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 364, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 417, in
_runcommand
return checkargs()
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 373, in
checkargs
return cmdfunc()
File "/opt/csw/lib/python/site-packages/mercurial/dispatch.py", line 358, in
<lambda>
d = lambda: func(ui, *args, **cmdoptions)
File "/opt/csw/lib/python/site-packages/mercurial/commands.py", line 532, in clone
update=not opts['noupdate'])
File "/opt/csw/lib/python/site-packages/mercurial/hg.py", line 230, in clone
dest_repo.clone(src_repo, heads=revs, stream=stream)
File "/opt/csw/lib/python/site-packages/mercurial/localrepo.py", line 2124, in
clone
return self.pull(remote, heads)
File "/opt/csw/lib/python/site-packages/mercurial/localrepo.py", line 1484, in
pull
return self.addchangegroup(cg, 'pull', remote.url())
File "/opt/csw/lib/python/site-packages/mercurial/localrepo.py", line 2004, in
addchangegroup
self.manifest.addgroup(chunkiter, revmap, trp)
File "/opt/csw/lib/python/site-packages/mercurial/revlog.py", line 1168, in
addgroup
for chunk in revs:
File "/opt/csw/lib/python/site-packages/mercurial/changegroup.py", line 31, in
chunkiter
c = getchunk(source)
File "/opt/csw/lib/python/site-packages/mercurial/changegroup.py", line 21, in
getchunk
d = source.read(l - 4)
File "/opt/csw/lib/python/site-packages/mercurial/util.py", line 1491, in read
for chunk in self.iter:
File "/opt/csw/lib/python/site-packages/mercurial/httprepo.py", line 140, in
zgenerator
for chunk in util.filechunkiter(f):
File "/opt/csw/lib/python/site-packages/mercurial/util.py", line 1517, in
filechunkiter
s = nbytes and f.read(nbytes)
File "/opt/csw/lib/python/site-packages/mercurial/keepalive.py", line 386, in read
s = self._rbuf + self._raw_read(amt)
File "/opt/csw/lib/python/httplib.py", line 509, in read
return self._read_chunked(amt)
File "/opt/csw/lib/python/httplib.py", line 548, in _read_chunked
chunk_left = int(line, 16)
ValueError: invalid literal for int() with base 16: ''
hg --version
Mercurial Distributed SCM (version 1.0)
python -V
Python 2.5.1
uname -a
SunOS elif 5.10 Generic_120012-14 i86pc i386 i86pc
----------
messages: 5908
nosy: vkvashin
priority: bug
status: unread
title: exception when cloning
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1088>
____________________________________________________
More information about the Mercurial-devel
mailing list