Exception when pushing to Repo that already has file that is created in local repo

Issue #400 resolved
Martin Schröder
created an issue
hg push
Übertrage nach svn+ssh://scicom@XXXXX/Elasticity
searching for changes
** Unknown exception encountered with possibly-broken third-party extension hgsubversion
** which supports versions unknown of Mercurial.
** Please disable hgsubversion and try your action again.
** If that fixes the bug please report it to Der Autor der Erweiterung
** Python 2.7.4 (default, Jul  5 2013, 08:21:57) [GCC 4.7.3]
** Mercurial Distributed SCM (Version 2.6.3+2-fbdac607bff3)
** Erweiterungen geladen: mq, convert, extdiff, rebase, graphlog, fetch, progress, hggit, hgsubversion
Traceback (most recent call last):
  File "/home/moi/.bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 69, in dispatch
    ret = _runcatch(req)
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 97, in _runcatch
    return _dispatch(req)
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 778, in _dispatch
    cmdpats, cmdoptions)
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 549, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 869, in _runcommand
    return checkargs()
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 840, in checkargs
    return cmdfunc()
  File "/home/moi/.lib/python/mercurial/dispatch.py", line 775, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/moi/.lib/python/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/home/moi/.lib/python/mercurial/extensions.py", line 143, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/moi/.lib/python/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/home/moi/.bin/hgsubversion/hgsubversion/wrappers.py", line 594, in generic
    return orig(ui, repo, *args, **opts)
  File "/home/moi/.lib/python/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/home/moi/.lib/python/mercurial/extensions.py", line 143, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/moi/.lib/python/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/home/moi/.lib/python/hgext/mq.py", line 3528, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/home/moi/.lib/python/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/home/moi/.lib/python/mercurial/commands.py", line 4655, in push
    newbranch=opts.get('new_branch'))
  File "/home/moi/.bin/hgsubversion/hgsubversion/svnrepo.py", line 81, in wrapper
    return fn(self, *args, **opts)
  File "/home/moi/.bin/hgsubversion/hgsubversion/svnrepo.py", line 100, in push
    return wrappers.push(self, remote, force, revs)
  File "/home/moi/.bin/hgsubversion/hgsubversion/wrappers.py", line 231, in push
    pushmod.commit(ui, repo, old_ctx, meta, base_revision, svn)
  File "/home/moi/.bin/hgsubversion/hgsubversion/pushmod.py", line 206, in commit
    props, newcopies)
  File "/home/moi/.bin/hgsubversion/hgsubversion/svnwrap/svn_swig_wrapper.py", line 439, in commit
    editor.close_edit(edit_baton, self.pool)
  File "/usr/lib/python2.7/dist-packages/libsvn/delta.py", line 463, in close_edit
    return svn_delta_editor_invoke_close_edit(self, *args)
  File "/usr/lib/python2.7/dist-packages/libsvn/delta.py", line 644, in svn_delta_editor_invoke_close_edit
    return _delta.svn_delta_editor_invoke_close_edit(*args)
svn.core.SubversionException: 160020 - File already exists: filesystem '/home/scicom/coop/MartinSchroeder/Elasticity/db', transaction '19-m', path '/LICENSE'
 at subversion/libsvn_fs_fs/tree.c:2212

Comments (1)

  1. Log in to comment