Opened 8 years ago

Closed 8 years ago

#49495 closed defect (fixed)

py-hggit broken with mercurial @3.5.99_0

Reported by: easye Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-hggit

Description

hg push to github repository is failing for me with the following error. An "hg outgoing" successfully shows that a commit is outstanding.

Downgrading to mercurial @3.5.1_0 allows hg-git to function again. Most likely upgrading to mercurial-3.6 should allow this to work again as few others are testing the exact version of mercurial that corresponds to @3.5.99_0.

Issue filed upstream as well at <https://bitbucket.org/durin42/hg-git/issues/169/hg-push-to-github-fails>.

quoth:~/work/slime$ hg push
pushing to git+ssh://git@github.com:easye/slime.git
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 3.4 of Mercurial.
** Please disable hggit and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues
** Python 2.7.10 (default, Aug 18 2015, 20:14:59) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)]
** Mercurial Distributed SCM (version 3.6-rc+2-b57e5bfaad7c)
** Extensions loaded: strip, mq, hggit
Traceback (most recent call last):
  File "/opt/local/bin/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 54, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 116, in dispatch
    ret = _runcatch(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 187, in _runcatch
    return _dispatch(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 920, in _dispatch
    cmdpats, cmdoptions)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 679, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 1051, in _runcommand
    return checkargs()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 1011, in checkargs
    return cmdfunc()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 917, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/util.py", line 801, in check
    return func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/extensions.py", line 183, in closure
    return func(*(args + a), **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/util.py", line 801, in check
    return func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hgext/mq.py", line 3526, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/util.py", line 801, in check
    return func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/commands.py", line 5421, in push
    opargs=opts.get('opargs'))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/extensions.py", line 183, in closure
    return func(*(args + a), **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hggit/util.py", line 48, in inner
    return f(*args, **kwargs)
TypeError: exchangepush() got an unexpected keyword argument 'opargs'

Change History (3)

comment:1 Changed 8 years ago by seanfarley (Sean Farley)

Thanks for the report. I'm looking at it upstream as well.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: easiste@… removed
Keywords: py-hggit mercurial removed

As reporter, you do not need to Cc yourself. Please see DraftKeywordGuidelines.

comment:3 Changed 8 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Long since fixed.

Note: See TracTickets for help on using tickets.