KeyError: hgsubversion/", line 139, in __getitem__

Create issue
Issue #103 invalid
Former user created an issue

Running HG1.3 and hgsubversion <<changeset ae35c389cdef>> when doing: $ hg clone https://somerepo/someproject test

it fails after aprox 20 revisions. When cloning https://somerepo/someproject/trunk it doesn't seem to fail in the same way.

{{{ unknown exception encountered, details follow report bug details to or Mercurial Distributed SCM (version 1.3) Extensions loaded: churn, color, extdiff, fetch, gpg, graphlog, mq, transplant, rebase, zeroconf, hgk, hgshelve, svn Traceback (most recent call last): File "/Users/mvriens/bin/hg", line 27, in <module> File "/Users/mvriens/lib/python/mercurial/", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/Users/mvriens/lib/python/mercurial/", line 27, in dispatch return _runcatch(u, args) File "/Users/mvriens/lib/python/mercurial/", line 43, in _runcatch return _dispatch(ui, args) File "/Users/mvriens/lib/python/mercurial/", line 449, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/Users/mvriens/lib/python/mercurial/", line 317, in runcommand ret = _runcommand(ui, options, cmd, d) File "/Users/mvriens/lib/python/mercurial/", line 501, in _runcommand return checkargs() File "/Users/mvriens/lib/python/mercurial/", line 454, in checkargs return cmdfunc() File "/Users/mvriens/lib/python/mercurial/", line 448, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/Users/mvriens/lib/python/mercurial/", line 370, in check return func(args, kwargs) File "/Users/mvriens/lib/python/mercurial/", line 103, in wrap util.checksignature(origfn), *args, kwargs) File "/Users/mvriens/lib/python/mercurial/", line 370, in check return func(args, kwargs) File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 381, in clone update=not opts.get('noupdate')) File "/Users/mvriens/lib/python/mercurial/", line 286, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/Users/mvriens/lib/python/mercurial/", line 2176, in clone return self.pull(remote, heads) File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 39, in wrapper return fn(self, *args, opts) File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 53, in pull return wrappers.pull(self, remote, heads, force) File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 254, in pull tbdelta = meta.update_branch_tag_map_for_rev(r) File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 346, in update_branch_tag_map_for_rev ci = self.repo[self.tags[from_tag]].extra()['convert_revision'] File "/Users/mvriens/src/hgsubversion/hgsubversion/", line 139, in getitem raise KeyError() KeyError


Comments (2)

  1. Augie Fackler repo owner

    Cloning with the /trunk on the end won't result in any useful revisions.

    Does this still happen with current tip? Can you give a reproduction recipe?

  2. Log in to comment