SubversionException: ('Access denied', 220004)

Issue #444 new
FlorianGeorge created an issue

With a certain changeset, I am getting the following error message:

% hg push svn://xxx.xxx.x.xx/XXXxx/trunk
Übertrage nach svn://xxx.xxx.x.xx/XXXxx/trunk
searching for changes
committing b02217de24f5
** Unknown exception encountered with possibly-broken third-party extension svnbindings
** which supports versions unknown of Mercurial.
** Please disable svnbindings and try your action again.
** If that fixes the bug please report it to Der Autor der Erweiterung
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (Version 3.4.2)
** Erweiterungen geladen: hggit, rebase, hgsubversion, svnbindings, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** Unknown exception encountered with possibly-broken third-party extension svnbindings
** which supports versions unknown of Mercurial.
** Please disable svnbindings and try your action again.
** If that fixes the bug please report it to Der Autor der Erweiterung
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (Version 3.4.2)
** Erweiterungen geladen: hggit, rebase, hgsubversion, svnbindings, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
  File "hg", line 53, in <module>
  File "mercurial\dispatch.pyo", line 29, in run
  File "mercurial\dispatch.pyo", line 91, in dispatch
  File "mercurial\dispatch.pyo", line 160, in _runcatch
  File "mercurial\dispatch.pyo", line 885, in _dispatch
  File "mercurial\dispatch.pyo", line 646, in runcommand
  File "mercurial\dispatch.pyo", line 976, in _runcommand
  File "mercurial\dispatch.pyo", line 947, in checkargs
  File "mercurial\dispatch.pyo", line 882, in <lambda>
  File "mercurial\util.pyo", line 716, in check
  File "mercurial\commands.pyo", line 5665, in serve
  File "mercurial\cmdutil.pyo", line 790, in service
  File "mercurial\commandserver.pyo", line 289, in run
  File "mercurial\commandserver.pyo", line 242, in serve
  File "mercurial\commandserver.pyo", line 220, in serveone
  File "mercurial\commandserver.pyo", line 203, in runcommand
  File "mercurial\dispatch.pyo", line 91, in dispatch
  File "mercurial\dispatch.pyo", line 160, in _runcatch
  File "mercurial\extensions.pyo", line 168, in closure
  File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
  File "mercurial\dispatch.pyo", line 885, in _dispatch
  File "mercurial\dispatch.pyo", line 646, in runcommand
  File "mercurial\dispatch.pyo", line 976, in _runcommand
  File "mercurial\dispatch.pyo", line 947, in checkargs
  File "mercurial\dispatch.pyo", line 882, in <lambda>
  File "mercurial\util.pyo", line 716, in check
  File "mercurial\extensions.pyo", line 168, in closure
  File "mercurial\util.pyo", line 716, in check
  File "hgsubversion\wrappers.pyo", line 690, in generic
  File "mercurial\util.pyo", line 716, in check
  File "mercurial\commands.pyo", line 5234, in push
  File "mercurial\extensions.pyo", line 168, in closure
  File "hgsubversion\wrappers.pyo", line 377, in exchangepush
  File "hgsubversion\wrappers.pyo", line 279, in push
  File "hgsubversion\pushmod.pyo", line 204, in commit
  File "hgsubversion\svnwrap\svn_swig_wrapper.pyo", line 456, in commit
  File "V:\_Local\svn_1.7.5_py27_x64\libsvn\delta.py", line 453, in close_edit
    return svn_delta_editor_invoke_close_edit(self, *args)
  File "V:\_Local\svn_1.7.5_py27_x64\libsvn\delta.py", line 666, in svn_delta_editor_invoke_close_edit
    return _delta.svn_delta_editor_invoke_close_edit(*args)
svn.core.SubversionException: ('Access denied', 220004)
cmdserver: process exited unexpectedly with code 255
Development% 

Disabling svnbindings is obviously not an option when using tortoiseHg with hgSubversion.

The error occurs e.g. with TortoiseHg 3.4.1 and 3.4.2 and their bundled hgSubversion.

It is possible the "Access denied" points to a locked or otherwise somehow not for writing accessible SVN directory. Is there a way to let tortoiseHg/hgSubversion/svnbindings print out the file/directory causing the issue?

Comments (2)

  1. FlorianGeorge reporter

    I was able to pinpoint the issue down to a single file that should be added to a directory whose access for most accounts was removed recently. So the directory isn't visible/accessible via SVN anymore, but my local copy of the repository still keeps track of the directory, as there has never been a delete commit.

    Is there a way to sync with this situation, or is the only way to re-clone the whole repository?

    Side-note: On re-cloning, 30882 changesets are being pulled, while my local repository, including numerous uncommitted drafts, is atm at Revision 30188, so apart from the non-accessible changesets that got removed due to loss of access, others seeminlgy appeared that are now visible, but only on re-cloning, not via simple pulls. Any way to deal with this without having to re-clone?

  2. Augie Fackler repo owner

    I've never worked with a Subversion repository where I had partial access to the source tree, so I'm afraid it probably will work as poorly as you can imagine. :/

  3. Log in to comment