[issue1896] glog with file parameter crashes

Joel Rosdahl bugs at mercurial.selenic.com
Mon Nov 2 15:15:20 CST 2009


New submission from Joel Rosdahl <joel at rosdahl.net>:

% hg glog Makefile
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3.1+260-6c1f5133c2ec+20091102)
** Extensions loaded: hct, bookmarks, churn, color, convert, extdiff, gpg,
graphlog, hgk, mq, pager, patchbomb, rebase, record, transplant, histedit
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
30, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
46, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
460, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
320, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.5/site-packages/mercurial/extensions.py",
line 118, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/local/lib/python2.5/site-packages/hgext/pager.py", line 62, in
pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
511, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
465, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
459, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 385,
in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.5/site-packages/hgext/graphlog.py", line 253,
in graphlog
    generate(ui, revdag, displayer, showparents, asciiedges)
  File "/usr/local/lib/python2.5/site-packages/hgext/graphlog.py", line 223,
in generate
    displayer.show(ctx)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py", line
640, in show
    self._show(ctx, copies, props)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py", line
965, in _show
    self.ui.write(templater.stringify(self.t(key, **props)))
  File
"/usr/local/lib/python2.5/site-packages/mercurial/templatefilters.py", line
14, in stringify
    return "".join([stringify(t) for t in thing if t is not None])
  File "/usr/local/lib/python2.5/site-packages/mercurial/util.py", line 220,
in increasingchunks
    for chunk in source:
  File "/usr/local/lib/python2.5/site-packages/mercurial/templater.py", line
60, in process
    item = iters[0].next()
  File "/usr/local/lib/python2.5/site-packages/mercurial/templater.py", line
129, in _process
    yield get(expr)
  File "/usr/local/lib/python2.5/site-packages/mercurial/templater.py", line
107, in get
    v = v(**map)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py", line
868, in showtags
    return showlist('tag', ctx.tags(), **args)
AttributeError: 'filectx' object has no attribute 'tags'

(This seems to have been broken in revision 8c09952cd39a.)

----------
messages: 10869
nosy: jrosdahl
priority: bug
status: unread
title: glog with file parameter crashes

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



More information about the Mercurial-devel mailing list