[Bug 6128] New: Traceback in hg shelve with evolve and topic enabled

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed May 1 14:07:33 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6128

            Bug ID: 6128
           Summary: Traceback in hg shelve with evolve and topic enabled
           Product: Mercurial
           Version: 5.0rc0
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: zash at zash.se
                CC: mercurial-devel at mercurial-scm.org,
                    pierre-yves.david at ens-lyon.org

mercurial 5.0~rc0
mercurial-evolve 8.5.0

To reproduce:

$ hg init test
$ cd test
$ tee -a .hg/hgrc <<EOF
[extensions]
evolve =
topic =
shelve =
EOF
$ echo test > test
$ hg add test
$ hg shelve

** Unknown exception encountered with possibly-broken third-party extension
evolve
** which supports versions 4.9 of Mercurial.
** Please disable evolve and try your action again.
** If that fixes the bug please report it to https://bz.mercurial-scm.org/
** Python 2.7.16 (default, Apr  6 2019, 01:42:57) [GCC 8.3.0]
** Mercurial Distributed SCM (version 5.0rc0)
** Extensions loaded: evolve, topic, shelve
Traceback (most recent call last):
  File "/usr/bin/hg", line 43, in <module>
    dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 99, in
run
    status = dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 225, in
dispatch
    ret = _runcatch(req) or 0
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 376, in
_runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 384, in
_callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 167, in
callcatch
    return func()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 367, in
_runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1021, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 756, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1030, in
_runcommand
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1018, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1680, in
check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/shelve.py", line 1139, in
shelvecmd
    return createcmd(ui, repo, pats, opts)
  File "/usr/lib/python2.7/dist-packages/hgext/shelve.py", line 449, in
createcmd
    return _docreatecmd(ui, repo, pats, opts)
  File "/usr/lib/python2.7/dist-packages/hgext/shelve.py", line 492, in
_docreatecmd
    node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 2434, in
commit
    return commitfunc(ui, repo, message, matcher, opts)
  File "/usr/lib/python2.7/dist-packages/hgext/shelve.py", line 402, in
commitfunc
    match, editor=editor_, extra=extra)
  File "/usr/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 382,
in commit
    return super(topicrepo, self).commit(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 158, in
wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2523, in
commit
    ret = self.commitctx(cctx, True)
  File "/usr/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 402,
in commitctx
    return super(topicrepo, self).commitctx(ctx, error=error)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 158, in
wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2652, in
commitctx
    p1copies, p2copies)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 439, in
closure
    return func(*(args + a), **kw)
TypeError: wrapadd() takes at most 11 arguments (13 given)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list