Cannot push a deletion

Create issue
Issue #359 resolved
Tom Anderson created an issue

Steps to reproduce:

{{{ tmp $ mkdir Dummy.orig tmp $ mkdir Dummy tmp $ cd Dummy.orig Dummy.orig $ mkdir trunk tags branches Dummy.orig $ date >trunk/date Dummy.orig $ svn import . http://srcctrl/opt/repo/projects/tanderson/Dummy -m 'Creating dummy project' Adding trunk Adding trunk/date Adding branches Adding tags

Committed revision 108693. Dummy.orig $ cd ../Dummy Dummy $ hg init Dummy $ echo -e >.hg/hgrc '[extensions]\nhgsubversion = /opt/hgsubversion/hgsubversion\n\n[paths]\ndefault = http://srcctrl/opt/repo/projects/tanderson/Dummy' Dummy $ hg pull -u pulling from http://srcctrl/opt/repo/projects/tanderson/Dummy [r108693] tanderson: Creating dummy project pulled 1 revisions (run 'hg update' to get a working copy) Dummy $ hg rm date Dummy $ hg commit -m 'removed date' Dummy $ hg push pushing to http://srcctrl/opt/repo/projects/tanderson/Dummy searching for changes Unknown exception encountered with possibly-broken third-party extension hgsubversion [...] File "/opt/hgsubversion/hgsubversion/", line 81, in wrapper return fn(self, *args, opts) File "/opt/hgsubversion/hgsubversion/", line 100, in push return wrappers.push(self, remote, force, revs) File "/opt/hgsubversion/hgsubversion/", line 220, in push pushmod.commit(ui, repo, old_ctx, meta, base_revision, svn) File "/opt/hgsubversion/hgsubversion/", line 201, in commit props, newcopies) File "/opt/hgsubversion/hgsubversion/svnwrap/", line 417, in commit visitdir(rooteditor, '', paths, 0) File "/opt/hgsubversion/hgsubversion/svnwrap/", line 380, in visitdir editor.delete_entry(path, base_revision) subvertpy.SubversionException: ("'/opt/repo/projects/!svn/wrk/1888fa7d-dbdb-462f-b024-3356e0e1ad5f/tanderson/Dummy/date' path not found", 160013) }}}

Comments (5)

  1. Tom Anderson reporter

    Current versions:

    $ python --version
    Python 2.7.1+
    $ hg --version
    Mercurial Distributed SCM (version 2.3+10-9d9d15928521)
    $ svn --version
    svn, version 1.6.12 (r955767)
       compiled Jun  5 2011, 15:03:40
    $ cd /opt/hgsubversion/ && hg log -r .
    changeset:   921:8faa91951bb1
    tag:         tip
    user:        David Schleimer <>
    date:        Wed Aug 01 13:08:56 2012 -0700
    summary:     svnremoterepo: use and prefer default-push
  2. Log in to comment