[issue2575] Unknown Exception

Michael Martz bugs at mercurial.selenic.com
Tue Jan 4 15:52:04 UTC 2011


New submission from Michael Martz <blktiger at gmail.com>:

A bug started occuring while trying to push from the command line (pushing 
from MacHg worked fine).


pushing to http://server1/hg/capture
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. 
build 5646)]
** Mercurial Distributed SCM (version 1.7.3+20110102)
** Extensions loaded: convert, extdiff, bookmarks, fetch, hggit, mq, rebase, 
transplant, prompt, hgshelve
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16, 
in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 36, 
in dispatch
    return _runcatch(u, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 58, 
in _runcatch
    return _dispatch(ui, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 590, 
in _dispatch
    cmdpats, cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 401, 
in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 641, 
in _runcommand
    return checkargs()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 595, 
in checkargs
    return cmdfunc()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 588, 
in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/extensions.py", line 
130, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Users/michael.martz/.hg-extensions/hg-prompt/prompt.py", line 407, 
in _push_with_cache
    res = orig(ui, repo, *args, **opts)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/extensions.py", line 
130, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/hgext/mq.py", line 2988, in 
mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/extensions.py", line 
130, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/hgext/bookmarks.py", line 448, in 
push
    result = oldpush(ui, repo, dest, **opts)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 426, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/commands.py", line 2859, 
in push
    newbranch=opts.get('new_branch'))
  File "/Library/Python/2.6/site-packages/hgext/mq.py", line 2892, in push
    return super(mqrepo, self).push(remote, force, revs, newbranch)
TypeError: push() takes at most 4 arguments (5 given)


Extensions installed:
[extensions]
hgext.convert =
hgext.extdiff =
hgext.bookmarks =
fetch =
hggit =
hgext.mq =
rebase =
transplant =
prompt = ~/.hg-extensions/hg-prompt/prompt.py

----------
messages: 14800
nosy: blacktiger
priority: bug
status: unread
title: Unknown Exception

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2575>
____________________________________________________


More information about the Mercurial-devel mailing list