[issue2036] hg st -A raises KeyError: '.'

Steve Steiner bugs at mercurial.selenic.com
Fri Feb 12 02:40:53 UTC 2010


New submission from Steve Steiner <ssteinerX at gmail.com>:

Just ran `hg st -A` on an existing repo where it's run without incident in
the past and got the following:

** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.1)
** Extensions loaded: rebase, graphlog, extdiff, color, fetch
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.6/bin/hg", line 27,
in <module>
    mercurial.dispatch.run()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 30, in dispatch
    return _runcatch(u, args)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 46, in _runcatch
    return _dispatch(ui, args)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 449, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 319, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 500, in _runcommand
    return checkargs()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 454, in checkargs
    return cmdfunc()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
line 448, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py",
line 386, in check
    return func(*args, **kwargs)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py",
line 116, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py",
line 386, in check
    return func(*args, **kwargs)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/color.py",
line 277, in nocolor
    return func(orig, *args, **opts)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/color.py",
line 116, in colorstatus
    status = _status_abbreviations[lines_with_status[i][0]]
KeyError: '.'

----------
messages: 11674
nosy: ssteinerX
priority: bug
status: unread
title: hg st -A raises KeyError: '.'
topic: status

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


More information about the Mercurial-devel mailing list