Problem fetching one changeset

Issue #470 new
Volodymyr Kostyrko
created an issue
pulling from svn://svn.freebsd.org/base/head/
[r283924] vangyzen: Provide vnode in memory map info for files on tmpfs
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.14 (default, Feb  5 2018, 12:33:22) [GCC 4.2.1 Compatible Clang 5.0.1 (tags/RELEASE_501/final)]
** Mercurial Distributed SCM (version 4.3.3)
** Extensions loaded: convert, eol, hggit, hgsubversion, highlight, strip, mq, pager
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 45, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 81, in run
    status = (dispatch(req) or 0) & 255
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 162, in dispatch
    ret = _runcatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 302, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 310, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py", line 150, in callcatch
    return func()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 292, in _runcatchfunc
    return _dispatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 896, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 658, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 322, in closure
    return func(*(args + a), **kw)
  File "/usr/local/lib/python2.7/site-packages/hgext/pager.py", line 69, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 904, in _runcommand
    return cmdfunc()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 893, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1077, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 322, in closure
    return func(*(args + a), **kw)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1077, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/hgext/mq.py", line 3546, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1077, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 322, in closure
    return func(*(args + a), **kw)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1077, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 720, in generic
    return orig(ui, repo, *args, **opts)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1077, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mercurial/commands.py", line 3935, in pull
    opargs=pullopargs).cgresult
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 322, in closure
    return func(*(args + a), **kw)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 556, in exchangepull
    pullop.cgresult = pull(repo, remote, heads, force)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 498, in pull
    firstrun)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/replay.py", line 57, in convert_rev
    return _convert_rev(ui, meta, svn, r, tbdelta, firstrun)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/replay.py", line 74, in _convert_rev
    svn.get_replay(r.revnum, editor, meta.revmap.firstpulled)
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/svnwrap/subvertpy_wrapper.py", line 510, in get_replay
    self.remote.replay(revision, oldestrev, BaseEditor(editor))
  File "/usr/local/lib/python2.7/site-packages/hgsubversion/editor.py", line 591, in txdelt_window
    handler(window)
  File "/usr/local/lib/python2.7/site-packages/subvertpy/delta.py", line 78, in apply_window
    target_stream.write(apply_txdelta_window(sbuf, window))
  File "/usr/local/lib/python2.7/site-packages/subvertpy/delta.py", line 51, in apply_txdelta_window
    raise AssertionError("%d != %d" % (len(tview), tview_len))
AssertionError: 30932 != 30951
Your SVN repository may not be supplying correct replay deltas. It is strongly
advised that you repull the entire SVN repository using hg pull --stupid.
Alternatively, re-pull just this revision using --stupid and verify that the
changeset is correct.

Comments (3)

  1. Volodymyr Kostyrko reporter
    > hg pull -r 283924 --stupid
    pulling from svn://svn.freebsd.org/base/head/
    [r283924] vangyzen: Provide vnode in memory map info for files on tmpfs
    abort: hgsubversion doesn't support stupid mode with Subversion 1.9. Please email hgsubversion@googlegroups.com and let us know you saw this, otherwise we may remove stupid mode entirely.
    
  2. Volodymyr Kostyrko reporter

    Mirrored locally via svnsync. svnadmin verify passes without any issues. Local mirror weights near 6,5G (but I have compressed FS so YMMV). Can share through Resilio for example.

  3. Log in to comment