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

hg pull fails with Abort: ("Unknown command 'failure'", 210001)

Anonymous created an issue

After modifying svn:externals and a few files in the svn repository, an hg pull of that repository gives:

ogoun2.ironfist.org% hg pull pulling from svn+ssh://ogoun/usr/local/svn/home [r1416] bruce: asdasd abort: ("Unknown command 'failure'", 210001) ogoun2.ironfist.org% hg --traceback pull pulling from svn+ssh://ogoun/usr/local/svn/home [r1416] bruce: asdasd Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 50, in _runcatch return _dispatch(ui, args) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 470, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 340, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 521, in _runcommand return checkargs() File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 475, in checkargs return cmdfunc() File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 469, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check return func(*args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line 116, in wrap util.checksignature(origfn), args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check return func(*args, kwargs) File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/wrappers.py", line 415, in generic return orig(ui, repo, args, opts) File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check return func(*args, kwargs) File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 2419, in pull modheads = repo.pull(other, heads=revs, force=opts.get('force')) File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/svnrepo.py", line 43, in wrapper return fn(self, args, *opts) File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/svnrepo.py", line 57, in pull return wrappers.pull(self, remote, heads, force) File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/wrappers.py", line 298, in pull raise hgutil.Abort(e.args) Abort: ("Unknown command 'failure'", 210001) abort: ("Unknown command 'failure'", 210001)

Comments (5)

  1. Anonymous
    % hg pull
    pulling from svn+ssh://ogoun/usr/local/svn/home
    [r1416] bruce: asdasd
    abort: ("Unknown command 'failure'", 210001)
    % hg --traceback pull
    pulling from svn+ssh://ogoun/usr/local/svn/home
    [r1416] bruce: asdasd
    Traceback (most recent call last):
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 50, in _runcatch
        return _dispatch(ui, args)
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 470, in _dispatch
        return runcommand(lui, repo, cmd, fullargs, ui, options, d)
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 340, in runcommand
        ret = _runcommand(ui, options, cmd, d)
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 521, in _runcommand
        return checkargs()
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 475, in checkargs
        return cmdfunc()
      File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 469, in <lambda>
        d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
      File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check
        return func(*args, **kwargs)
      File "/usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line 116, in wrap
        util.checksignature(origfn), *args, **kwargs)
      File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check
        return func(*args, **kwargs)
      File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/wrappers.py", line 415, in generic
        return orig(ui, repo, *args, **opts)
      File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 401, in check
        return func(*args, **kwargs)
      File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 2419, in pull
        modheads = repo.pull(other, heads=revs, force=opts.get('force'))
      File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/svnrepo.py", line 43, in wrapper
        return fn(self, *args, **opts)
      File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/svnrepo.py", line 57, in pull
        return wrappers.pull(self, remote, heads, force)
      File "/usr/local/lib/python2.5/site-packages/hgsubversion-1.1_23_4f6017ba4d3d-py2.5.egg/hgsubversion/wrappers.py", line 298, in pull
        raise hgutil.Abort(*e.args)
    Abort: ("Unknown command 'failure'", 210001)
    abort: ("Unknown command 'failure'", 210001)
    
  2. Anonymous

    Same problem here, with hgsubversion 1.0.1 and 1.1.2 under Python 2.6.5 on a current Gentoo while checking out a revision containing a quite large tarball file:

    --8><-- Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 47, in _runcatch return _dispatch(ui, args) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 466, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 336, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 517, in _runcommand return checkargs() File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 471, in checkargs return cmdfunc() File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 465, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 401, in check return func(*args, kwargs) File "/usr/lib/python2.6/site-packages/mercurial/extensions.py", line 116, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 401, in check return func(*args, kwargs) File "/usr/lib/python2.6/site-packages/hgsubversion/wrappers.py", line 403, in clone update=not opts.get('noupdate')) File "/usr/lib/python2.6/site-packages/mercurial/hg.py", line 314, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 2209, in clone return self.pull(remote, heads) File "/usr/lib/python2.6/site-packages/hgsubversion/svnrepo.py", line 43, in wrapper return fn(self, *args, opts) File "/usr/lib/python2.6/site-packages/hgsubversion/svnrepo.py", line 57, in pull return wrappers.pull(self, remote, heads, force) File "/usr/lib/python2.6/site-packages/hgsubversion/wrappers.py", line 312, in pull raise hgutil.Abort(*e.args) Abort: ("Unknown command 'failure'", 210001) Abbruch: ("Unknown command 'failure'", 210001) --><8--

  3. Anonymous

    Same for me.

    However - I rebased (using the rebase extension) the svn snapshot ontop of my local hg snapshot and merged the differences. I issed the hg pull (from the svn repo) with the intention to pull one new snapshot. When this error came I found a SOLUTION: Rebuild the svn metadata with hg svn rebuildmeta A subsequent pull worked fine for me.

  4. Log in to comment