[issue1520] hg glog crash with bundle

IsaacJurado mercurial-bugs at selenic.com
Fri Feb 20 21:12:03 CST 2009


New submission from IsaacJurado <diptongo at gmail.com>:

Graphlog crashes when trying to show the log from a bundle.  This seems a 1.1.x
regression because 1.0.x use to work fine.  Normal log over a bundle works fine.
 This could be related to issue1285.

$ hg -R bundle.hg glog
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.1.2)
** Extensions loaded: bookmarks, color, graphlog, hgk, mq, pager, patchbomb, purge
Traceback (most recent call last):
  File "/usr/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in
dispatch
    return _runcatch(u, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 45, in
_runcatch
    return _dispatch(ui, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 367, in
_dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/var/lib/python-support/python2.5/mercurial/extensions.py", line 112, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/var/lib/python-support/python2.5/hgext/pager.py", line 62, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 416, in
_runcommand
    return checkargs()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 376, in
checkargs
    return cmdfunc()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 361, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/var/lib/python-support/python2.5/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/var/lib/python-support/python2.5/hgext/graphlog.py", line 299, in graphlog
    repo_parents = repo.dirstate.parents()
  File "/var/lib/python-support/python2.5/mercurial/bundlerepo.py", line 229, in
__getattr__
    raise AttributeError(name)
AttributeError: dirstate

----------
messages: 8670
nosy: IsaacJurado
priority: bug
status: unread
title: hg glog crash with bundle

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



More information about the Mercurial-devel mailing list