[Bug 6225] New: phabread yields KeyError
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue Nov 19 11:46:09 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6225
Bug ID: 6225
Summary: phabread yields KeyError
Product: Mercurial
Version: 4.9
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: sgiesecke at mozilla.com
CC: mercurial-devel at mercurial-scm.org
Python Version: 2.7
Running hg phabread --stack D52876 yields the following result:
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.17 (default, Oct 21 2019, 17:20:57) [GCC 9.2.1 20190827 (Red Hat
9.2.1-1)]
** Mercurial Distributed SCM (version 4.9)
** Extensions loaded: hgk, absorb, histedit, rebase, evolve, blackbox,
firefoxtree, js-format, push-to-try, journal, fsmonitor, share, shelve,
phabricator, clang-format
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
dispatch.run()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 99, in
run
status = dispatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 225, in
dispatch
ret = _runcatch(req) or 0
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 376, in
_runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 384, in
_callcatch
return scmutil.callcatch(ui, func)
File "/usr/lib64/python2.7/site-packages/mercurial/scmutil.py", line 165, in
callcatch
return func()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 367, in
_runcatchfunc
return _dispatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1021,
in _dispatch
cmdpats, cmdoptions)
File "/usr/lib64/python2.7/site-packages/hgext/journal.py", line 90, in
runcommand
return orig(lui, repo, cmd, fullargs, *args)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 756, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1030,
in _runcommand
return cmdfunc()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1018,
in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1670, in
check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/phabricator.py", line 145, in
inner
return fn(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/phabricator.py", line 954, in
phabread
readpatch(repo, drevs, ui.write)
File "/usr/lib64/python2.7/site-packages/hgext/phabricator.py", line 920, in
readpatch
meta = getdiffmeta(diffs[str(diffid)])
File "/usr/lib64/python2.7/site-packages/hgext/phabricator.py", line 889, in
getdiffmeta
r'date': r'%d 0' % commit[r'time'],
KeyError: 'time'
Note that this refers to https://phabricator.services.mozilla.com/D52876
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list