Exception thrown while cloning a repository over http
Suriya Subramanian
suriya at cs.utexas.edu
Tue May 20 12:32:47 CDT 2008
I get an exception when I clone this repository
(http://www.cs.utexas.edu/users/speedway/jikesrvm-hg/trunk) over http. The
repository itself is fine (hg verify passes), and I am able to clone this
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
More information about the Mercurial
mailing list