clone of subversion repo fails on r860017

Issue #446 new
David Johansen
created an issue

When cloning the subversion repo (fount at http://svn.apache.org/repos/asf/subversion) a EditingError is thrown on r860017 (http://svn.apache.org/viewvc?view=revision&revision=860017):

Here's the stacktrace:

[r860017] pburba: Tagging ebcdic release 1.3.2 including svn_version.h
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.10 (default, Jul  5 2015, 14:15:47) [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)]
** Mercurial Distributed SCM (version 3.3.3)
** Extensions loaded: color, hgsubversion
Traceback (most recent call last):
  File "/usr/bin/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 71, in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 140, in _runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 863, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 624, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 194, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/color.py", line 491, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 954, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 925, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 860, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 711, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 149, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 711, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 697, in generic
    return orig(ui, repo, *args, **opts)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 711, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 5013, in pull
    bookmarks=opts.get('bookmark', ())).cgresult
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 194, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 532, in exchangepull
    pullop.cgresult = pull(repo, remote, heads, force)
  File "/usr/lib/python2.7/site-packages/hgsubversion/wrappers.py", line 474, in pull
    firstrun)
  File "/usr/lib/python2.7/site-packages/hgsubversion/replay.py", line 57, in convert_rev
    return _convert_rev(ui, meta, svn, r, tbdelta, firstrun)
  File "/usr/lib/python2.7/site-packages/hgsubversion/replay.py", line 74, in _convert_rev
    svn.get_replay(r.revnum, editor, meta.firstpulled)
  File "/usr/lib/python2.7/site-packages/hgsubversion/svnwrap/svn_swig_wrapper.py", line 466, in get_replay
    e_baton, self.pool)
  File "/usr/lib/python2.7/site-packages/libsvn/ra.py", line 740, in svn_ra_replay
    return _ra.svn_ra_replay(*args)
  File "/usr/lib/python2.7/site-packages/hgsubversion/svnwrap/svn_swig_wrapper.py", line 91, in fun
    return fn(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgsubversion/editor.py", line 340, in open_file
    return self._openfile(path, base, 'x' in flags, 'l' in flags, None)
  File "/usr/lib/python2.7/site-packages/hgsubversion/editor.py", line 211, in _openfile
    raise EditingError('trying to open a deleted file %s' % path)
hgsubversion.editor.EditingError: trying to open a deleted file subversion/tags/ebcdic/1.3.2/subversion/include/svn_version.h

Comments (4)

  1. Augie Fackler repo owner

    Yeah, I remember seeing this before. I don't remember the workaround I had. Let me see if I can at least make a clone that people can start from in the future - this ebcdic branch is dead anyway, so if we can't convert it it's not really a problem.

  2. Log in to comment