[issue1805] 1ef630452e0b breaks "hg log -k"

Christian Ebert mercurial-bugs at selenic.com
Thu Aug 20 11:54:11 CDT 2009


New submission from Christian Ebert <blacktrash at gmx.net>:

"hg log -k" in crew tip causes a traceback.

$ hg -q --version
Mercurial Distributed SCM (version 1ef630452e0b)
$ hg log -k test
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1ef630452e0b)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
27, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
43, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
449, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
317, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
501, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
454, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
448, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/local/lib/python2.6/site-packages/mercurial/util.py", line 402,
in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.6/site-packages/mercurial/commands.py", line
2055, in log
    k in " ".join(ctx.files()[3]).lower()):
IndexError: list index out of range


Bisecting shows that

changeset:   9367:1ef630452e0b
user:        Dirkjan Ochtman <dirkjan at ochtman.nl>
date:        Thu Aug 20 08:34:22 2009 +0200
summary:     cmdutil: use context objects for walkchangerevs()

is the "culprit".

----------
messages: 10367
nosy: blacktrash, djc
priority: bug
status: unread
title: 1ef630452e0b breaks "hg log -k"

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



More information about the Mercurial-devel mailing list