[issue1127] Exception thrown while cloning a repository over http

mssnlayam mercurial-bugs at selenic.com
Tue May 20 13:05:56 CDT 2008


New submission from mssnlayam <suriya at cs.utexas.edu>:

The repository seems to be fine (hg verify passes), and can be cloned locally.

$ ./hg clone http://www.cs.utexas.edu/users/speedway/jikesrvm-hg/trunk
destination directory: trunk
real URL is http://www.cs.utexas.edu/users/speedway/jikesrvm-hg/trunk/
requesting all changes
adding changesets
adding manifests
adding file changes
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 "./hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 364, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 417, in _runcommand
    return checkargs()
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 373, in checkargs
    return cmdfunc()
  File "/tmp/mercurial-1.0/mercurial/dispatch.py", line 358, in <lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "/tmp/mercurial-1.0/mercurial/commands.py", line 532, in clone
    update=not opts['noupdate'])
  File "/tmp/mercurial-1.0/mercurial/hg.py", line 230, in clone
    dest_repo.clone(src_repo, heads=revs, stream=stream)
  File "/tmp/mercurial-1.0/mercurial/localrepo.py", line 2124, in clone
    return self.pull(remote, heads)
  File "/tmp/mercurial-1.0/mercurial/localrepo.py", line 1484, in pull
    return self.addchangegroup(cg, 'pull', remote.url())
  File "/tmp/mercurial-1.0/mercurial/localrepo.py", line 2016, in addchangegroup
    if fl.addgroup(chunkiter, revmap, trp) is None:
  File "/tmp/mercurial-1.0/mercurial/revlog.py", line 1199, in addgroup
    textlen = mdiff.patchedsize(textlen, delta)
mpatch.mpatchError: patch cannot be decoded

----------
messages: 6049
nosy: mssnlayam
priority: bug
status: unread
title: Exception thrown while cloning a repository over http

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1127>
____________________________________________________



More information about the Mercurial-devel mailing list