Error pulling: "AssertionError: <file> not found"

Create issue
Issue #117 wontfix
Sean Russell created an issue

This is with hgsubversion 485:c07bcdc6e1bd and Mercurial b81baf9e4dd6, pulling from a Subversion repository (server: 1.6.4, client: 1.6.5).

The first pull runs out of memory (abort: out of memory), so I cd into the clone and run hg pull, which fails because of a journal error. (abort: journal already exists - run hg recover!). So I run hg recover, which succeeds:

{{{ rolling back interrupted transaction checking changesets checking manifests crosschecking files in changesets and manifests checking files 20227 files, 8644 changesets, 108942 total revisions }}}

so I continue with hg pull again. This trundles along for exactly 100 revisions, and then fails with:

{{{ unknown exception encountered, details follow report bug details to http://mercurial.selenic.com/bts/ or mercurial@selenic.com Mercurial Distributed SCM (version b81baf9e4dd6) Extensions loaded: hgk, extdiff, transplant, graphlog, fetch, convert, mq, churn, svn, rebase, hgattic, patchbomb, record Traceback (most recent call last): File "/usr/local/bin/hg", line 27, in <module> mercurial.dispatch.run() File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 27, in dispatch return _runcatch(u, args) File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 43, in _runcatch return _dispatch(ui, args) File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 449, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 317, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 501, in _runcommand return checkargs() File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 454, in checkargs return cmdfunc() File "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 448, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 370, in check return func(args, kwargs) File "/usr/local/lib/python2.6/dist-packages/mercurial/extensions.py", line 103, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 370, in check return func(args, kwargs) File "/usr/local/lib/python2.6/dist-packages/hgext/rebase.py", line 446, in pullrebase orig(ui, repo, *args, opts) File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 370, in check return func(args, kwargs) File "/usr/local/lib/python2.6/dist-packages/mercurial/extensions.py", line 103, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 370, in check return func(args, **kwargs) File "/home/srussell/hgsubversion/wrappers.py", line 321, in pull File "/home/srussell/hgsubversion/cmdutil.py", line 59, in replay_convert_rev File "/home/srussell/hgsubversion/svnwrap/svn_swig_wrapper.py", line 401, in get_replay File "/usr/lib/svn-python/libsvn/ra.py", line 850, in svn_ra_replay return apply(_ra.svn_ra_replay, args) File "/home/srussell/hgsubversion/hg_delta_editor.py", line 46, in fun File "/home/srussell/hgsubversion/hg_delta_editor.py", line 1045, in apply_textdelta AssertionError: branches/band-support/src/com/trueposition/scout/server/wlsconfigurator/SiteSurveyImporter.java not found

}}}

Comments (3)

  1. Augie Fackler repo owner

    Is this an open source repository? If so, where is it?

    Otherwise, I'm probably not going to be able to help - your best bet would be to try and recreate the circumstances that lead to this bug in a test repository I can see, or (less useful) describe the history of this branch in detail.

    Most likely, I can't help without seeing the history directly. It's likely that we'll fix this bug eventually when I get a public repo to test on.

  2. Sean Russell reporter

    No, unfortunately it isn't an open source repository, so unless I can reproduce it, I guess we're stuck.

    Thanks anyway.

  3. Augie Fackler repo owner

    Marking as wontfix since we can't do anything without a reasonable snapshot of the history.

  4. Log in to comment