[issue394] traceback on failed http pull
Thomas Arendsen Hein
mercurial-bugs at selenic.com
Fri Oct 13 12:47:58 UTC 2006
New submission from Thomas Arendsen Hein <thomas at intevation.de>:
Maybe this is already handled better in tip, but in 0.9.1 this traceback is ugly:
hg clone http://kernel.org/hg/linux-2.6
requesting all changes
adding changesets
adding manifests
adding file changes
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.1)
Traceback (most recent call last):
File "/usr/bin/hg", line 12, in ?
commands.run()
File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3266, in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3465, in
dispatch
return d()
File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3426, in
<lambda>
d = lambda: func(u, *args, **cmdoptions)
File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 979, in clone
update=not opts['noupdate'])
File "/usr/lib/python2.4/site-packages/mercurial/hg.py", line 186, in clone
dest_repo.clone(src_repo, heads=revs, stream=stream)
File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 2248, in
clone
return self.pull(remote, heads)
File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 1177, in pull
return self.addchangegroup(cg, 'pull')
File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 1642, in
addchangegroup
if fl.addgroup(chunkiter, revmap, tr) is None:
File "/usr/lib/python2.4/site-packages/mercurial/revlog.py", line 1139, in
addgroup
for chunk in revs:
File "/usr/lib/python2.4/site-packages/mercurial/changegroup.py", line 31, in
chunkiter
c = getchunk(source)
File "/usr/lib/python2.4/site-packages/mercurial/changegroup.py", line 21, in
getchunk
d = source.read(l - 4)
File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 840, in read
for chunk in self.in_iter:
File "/usr/lib/python2.4/site-packages/mercurial/httprepo.py", line 291, in
zgenerator
for chnk in f:
File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 863, in
filechunkiter
s = nbytes and f.read(nbytes)
File "/usr/lib/python2.4/site-packages/mercurial/keepalive.py", line 393, in read
s = self._rbuf + self._raw_read(amt)
File "/usr/lib/python2.4/httplib.py", line 460, in read
return self._read_chunked(amt)
File "/usr/lib/python2.4/httplib.py", line 505, in _read_chunked
value += self._safe_read(amt)
File "/usr/lib/python2.4/httplib.py", line 549, in _safe_read
chunk = self.fp.read(min(amt, MAXAMOUNT))
File "/usr/lib/python2.4/socket.py", line 303, in read
data = self._sock.recv(recv_size)
socket.error: (104, 'Connection reset by peer')
transaction abort!
rollback completed
----------
messages: 2177
nosy: ThomasAH
priority: bug
status: unread
title: traceback on failed http pull
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue394>
____________________________________________________
More information about the Mercurial-devel
mailing list