[Bug 4670] New: strange traceback on wrong revset "mercurial-dev%"
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri May 15 01:43:50 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4670
Priority: normal
Bug ID: 4670
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: strange traceback on wrong revset "mercurial-dev%"
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: pierre-yves.david at ens-lyon.org
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: Mercurial
Product: Mercurial
copy paste error triggers the firework :-/
% 18:42 pyd at marginatus ~/src/mercurial-dev > hg update mercurial-dev%
** Unknown exception encountered with possibly-broken third-party extension
drophack
** which supports versions unknown of Mercurial.
** Please disable drophack and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2]
** Mercurial Distributed SCM (version 3.4+183-d1bd0fd07ee6)
** Extensions loaded: color, schemes, convert, rebase, churn, purge,
progress, patchbomb, graphlog, shelve, blackbox, lighthg, smartlog, strip,
histedit, share, evolve, drophack, cpydev, perf, chistedit, extdiff,
remotenames, b2x, activity
Traceback (most recent call last):
File "/home/pyd/bin/hg", line 43, in <module>
mercurial.dispatch.run()
File "/home/pyd/lib/python/mercurial/dispatch.py", line 29, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/home/pyd/lib/python/mercurial/dispatch.py", line 91, in dispatch
ret = _runcatch(req)
File "/home/pyd/lib/python/mercurial/dispatch.py", line 160, in _runcatch
return _dispatch(req)
File "/home/pyd/lib/python/mercurial/dispatch.py", line 885, in _dispatch
cmdpats, cmdoptions)
File "/home/pyd/lib/python/mercurial/dispatch.py", line 646, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/home/pyd/lib/python/mercurial/extensions.py", line 168, in closure
return func(*(args + a), **kw)
File "/home/pyd/lib/python/hgext/color.py", line 521, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/home/pyd/lib/python/mercurial/dispatch.py", line 976, in _runcommand
return checkargs()
File "/home/pyd/lib/python/mercurial/dispatch.py", line 947, in checkargs
return cmdfunc()
File "/home/pyd/lib/python/mercurial/dispatch.py", line 882, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/home/pyd/lib/python/mercurial/util.py", line 716, in check
return func(*args, **kwargs)
File "/home/pyd/lib/python/mercurial/extensions.py", line 168, in closure
return func(*(args + a), **kw)
File "/home/pyd/lib/python/mercurial/util.py", line 716, in check
return func(*args, **kwargs)
File "/home/pyd/src/mutable-history/hgext/evolve.py", line 626, in
wrapmayobsoletewc
res = origfn(ui, repo, *args, **opts)
File "/home/pyd/lib/python/mercurial/util.py", line 716, in check
return func(*args, **kwargs)
File "/home/pyd/lib/python/mercurial/commands.py", line 6382, in update
rev = scmutil.revsingle(repo, rev, rev).rev()
File "/home/pyd/lib/python/mercurial/scmutil.py", line 671, in revsingle
l = revrange(repo, [revspec])
File "/home/pyd/lib/python/mercurial/scmutil.py", line 774, in revrange
l = m(repo)
File "/home/pyd/lib/python/mercurial/revset.py", line 2519, in mfunc
result = getset(repo, subset, tree)
File "/home/pyd/lib/python/mercurial/revset.py", line 316, in getset
s = methods[x[0]](repo, subset, *x[1:])
File "/home/pyd/lib/python/mercurial/revset.py", line 1327, in only
include = getset(repo, fullreposet(repo), args[0])
File "/home/pyd/lib/python/mercurial/revset.py", line 316, in getset
s = methods[x[0]](repo, subset, *x[1:])
KeyError: 'minus'
zsh: exit 1 hg update mercurial-dev%
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list