[BUG] hg log -v crashes

Guido Ostkamp hg at ostkamp.fastmail.fm
Mon Feb 11 05:07:13 CST 2008


Hello,

the 'hg log -v' command crashes here:

$ hg log -v

** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version b7f44f01a632)
Traceback (most recent call last):
  File "/home/ostkamp/local/bin/hg", line 14, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 29, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 45, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 360, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 376, in _runcommand
    return profiled(ui, checkargs, options)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 424, in profiled
    return func()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 369, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
  line 352, in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py",
  line 1749, in log
    displayer.show(rev, changenode, copies=copies)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py",
  line 572, in show
    self._show(rev, changenode, copies, props)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py",
  line 851, in _show
    self.ui.write(templater.stringify(self.t(key, **props)))
  File "/usr/local/lib/python2.5/site-packages/mercurial/templater.py",
  line 144, in stringify
    return "".join([stringify(t) for t in thing if t is not None])
  File "/usr/local/lib/python2.5/site-packages/mercurial/templater.py",
  line 122, in __call__
    v = self.filters[f](v)
  File
  "/usr/local/lib/python2.5/site-packages/mercurial/templatefilters.py",
  line 150, in <lambda>
    "strip": lambda x: x.strip(),
AttributeError: 'generator' object has no attribute 'strip'

$ hg --version
Mercurial Distributed SCM (version b7f44f01a632)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


Regards

Guido


More information about the Mercurial-devel mailing list