1. Augie Fackler
  2. hgsubversion
Issue #73 new

Assertion failure when pulling

Peter Hosey
created an issue

Pulling from my svnsynced Subversion repository after one of a series of out-of-memory errors, it ran for several thousand revisions and then failed:

{{{ [r24076] gfoster: bring in changes from trunk to my branch unknown exception encountered, details follow report bug details to http://www.selenic.com/mercurial/bts or mercurial@selenic.com Mercurial Distributed SCM (version 1.2.1) Extensions loaded: MacOSXKeychain, alias, bitbucketrepo, convert, crecord, extdiff, graphlog, hgactivity, hgk, hgsubversion, mq, patchbomb, qimprovements, rebase, record, transplant Traceback (most recent call last): File "/usr/local/bin/hg", line 27, in <module> mercurial.dispatch.run() File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 25, in dispatch return _runcatch(u, args) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 41, in _runcatch return _dispatch(ui, args) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 372, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 247, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 417, in _runcommand return checkargs() File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 377, in checkargs return cmdfunc() File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 371, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 718, in check return func(args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line 100, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 718, in check return func(args, kwargs) File "/usr/local/lib/python2.5/site-packages/hgext/rebase.py", line 419, in pullrebase orig(ui, repo, *args, opts) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 718, in check return func(args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line 100, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 718, in check return func(args, kwargs) File "/Volumes/Home-etc/Users/prh/.hgext/hgsubversion/wrappers.py", line 306, in pull cmdutil.replay_convert_rev(hg_editor, svn, r) File "/Volumes/Home-etc/Users/prh/.hgext/hgsubversion/cmdutil.py", line 59, in replay_convert_rev svn.get_replay(r.revnum, hg_editor) File "/Volumes/Home-etc/Users/prh/.hgext/hgsubversion/svnwrap/svn_swig_wrapper.py", line 395, in get_replay e_baton, self.pool) File "/usr/local/lib/svn-python/libsvn/ra.py", line 850, in svn_ra_replay return apply(_ra.svn_ra_replay, args) File "/Volumes/Home-etc/Users/prh/.hgext/hgsubversion/hg_delta_editor.py", line 46, in fun return fn(self, *args, kwargs) File "/Volumes/Home-etc/Users/prh/.hgext/hgsubversion/hg_delta_editor.py", line 1045, in apply_textdelta or self.current_file in self.missing_plaintexts), '%s not found' % self.current_file AssertionError: branches/summer_of_code_2008/data_detectors/Adium.xcodeproj/project.pbxproj not found }}}

{{{


hg version %~/Projects/@otherpeoplesprojects/adium-hgsvn(0) Mercurial Distributed SCM (version 1.2.1)

Copyright (C) 2005-2009 Matt Mackall mpm@selenic.com and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


(cd ~/.hgext/hgsubversion && hg parent) %~/Projects/@otherpeoplesprojects/adium-hgsvn(0) changeset: 264:112d57bb736e tag: tip user: Augie Fackler durin42@gmail.com date: Mon Apr 13 21:51:12 2009 -0500 summary: rebase: moved to wrappers, now a wrapper around rebase triggered with --svn.


svn --version %~/Projects/@otherpeoplesprojects/adium-hgsvn(0) svn, version 1.5.6 (r36142) compiled Mar 5 2009, 21:00:16

Copyright (C) 2000-2008 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

  • ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  • handles 'http' scheme
  • handles 'https' scheme
  • ra_svn : Module for accessing a repository using the svn network protocol.
  • with Cyrus SASL authentication
  • handles 'svn' scheme
  • ra_local : Module for accessing a repository on local disk.
  • handles 'file' scheme
  • ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  • handles 'http' scheme
  • handles 'https' scheme }}}

Comments (5)

  1. Anonymous

    I'm seeing the same issue with ff69f1855086 (updated just now), and mercurial b81baf9e4dd6.

    Same behavior: hg clone of svn+http:... fails with out of memory error. A subsequent cd project and hg pull imports several versions and then fails with the same stack trace as the original reporter (it crashes at the same hg_delta_editor.py line 1045), with the same AssertionError. This is on revision 9055 out of >9531.

    A separate, earlier, clone of the SVN repository passed this revision with sequential pulls. That clone failed to pull revision 9532 with an unrelated error (hence the attempted re-import).

    --- SER

  2. Sean Russell

    I'm still seeing this:

    ** 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
    
  3. Log in to comment