1. Augie Fackler
  2. hgsubversion
  3. Issues
Issue #386 new

hgext.hgsubversion.editor.EditingError: trying to open a deleted file

marcelloceschia
created an issue

trying to clone a svn repository using

hg clone svn+http://svn.code.sf.net/p/chan-sccp-b/code/ chan-sccp-b

[r3141] ddegroot: Add current tag for V4.0
** Unbekannter Fehler - bitte melden auf:
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]
** Mercurial Distributed SCM (version 2.2.2)
** Erweiterungen geladen: hgsubversion
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 27, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 64, in dispatch
    return _runcatch(req)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 87, in _runcatch
    return _dispatch(req)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 696, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 472, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 786, in _runcommand
    return checkargs()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 757, in checkargs
    return cmdfunc()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 693, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 463, in check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 139, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 463, in check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/wrappers.py", line 562, in clone
    orig(ui, source, dest, **opts)
  File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 463, in check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 1171, in clone
    branch=opts.get('branch'))
  File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 184, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/wrappers.py", line 551, in hgclonewrapper
    data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts)
  File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 350, in clone
    destrepo.clone(srcrepo, heads=revs, stream=stream)
  File "/usr/lib64/python2.7/site-packages/mercurial/localrepo.py", line 2305, in clone
    return self.pull(remote, heads)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/svnrepo.py", line 81, in wrapper
    return fn(self, *args, **opts)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/svnrepo.py", line 104, in pull
    return wrappers.pull(self, remote, heads, force)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/wrappers.py", line 419, in pull
    firstrun)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/replay.py", line 66, in convert_rev
    return _convert_rev(ui, meta, svn, r, tbdelta, firstrun)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/replay.py", line 83, in _convert_rev
    svn.get_replay(r.revnum, editor, meta.revmap.oldest)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/svnwrap/svn_swig_wrapper.py", line 452, in get_replay
    e_baton, self.pool)
  File "/usr/lib/python2.7/site-packages/libsvn/ra.py", line 881, in svn_ra_replay
    return apply(_ra.svn_ra_replay, args)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/svnwrap/svn_swig_wrapper.py", line 89, in fun
    return fn(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/editor.py", line 325, in open_file
    return self._openfile(path, base, 'x' in flags, 'l' in flags, None)
  File "/usr/lib64/python2.7/site-packages/hgext/hgsubversion/editor.py", line 204, in _openfile
    raise EditingError('trying to open a deleted file %s' % path)
hgext.hgsubversion.editor.EditingError: trying to open a deleted file tags/V4.0_20111228/src/chan_sccp.c