Unhandled case in rebuildmeta

Create issue
Issue #118 resolved
Dirkjan Ochtman created an issue

This happens with hg.python.org/cpython (takes 58 minutes to get there, though). Here's the traceback, with some debug data:

{{{ #!python Traceback (most recent call last): File "/usr/bin/hg", line 27, in <module> mercurial.dispatch.run() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 27, in dispatch return _runcatch(u, args) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 43, in _runcatch return _dispatch(ui, args) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 450, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 318, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 502, in _runcommand return checkargs() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 455, in checkargs return cmdfunc() File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 449, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 370, in check return func(*args, kwargs) File "/home/djc/src/hg/hgsubversion/hgsubversion/init.py", line 123, in svn return commandfunc(ui, args=args, hg_repo_path=path, repo=repo, *opts) File "/home/djc/src/hg/hgsubversion/hgsubversion/svncommands.py", line 155, in rebuildmeta assert False, 'unhandled case in rebuildmeta:\n\t%s\n\t%s\n\t%s' % (rev, convinfo, commitpath) AssertionError: unhandled case in rebuildmeta: 40357 svn:6015fed2-1504-0410-9fe1-9d1591cc4771/python/bippolito-newstruct@46115 bippolito-newstruct }}}

So yeah, that's kind of an ugly case:

{{{ djc@miles python-hg-rebuild $ hg log -r40357 --debug changeset: 40357:4b90265c69f41a9736c65c5694073ff4344ba310 branch: ../bippolito-newstruct parent: 40356:a5c7eeb2ef22cdfec962521d3487c805a15f6f19 parent: -1:0000000000000000000000000000000000000000 manifest: 44710:191475a096dda1d7e6369b459a47ae8aca0e3e2c user: Bob Ippolito bob@redivi.com date: Tue May 23 15:44:35 2006 +0000 extra: branch=../bippolito-newstruct extra: convert_revision=svn:6015fed2-1504-0410-9fe1-9d1591cc4771/python/bippolito-newstruct@46115 description: branch for newstruct integration }}}

In other words, Bob mistakenly branched to python/bippolito-newstruct before moving his branch back to python/branches/bippolito-newstruct.

Comments (3)

  1. Log in to comment