Hi,
Recently I followed a tutorial on learning.gem5.org and used hg to clone
the gem5 source code. And I followed
http://learning.gem5.org/book/part2/helloobject.html and use `hg qnew` to
create an hg queue, but I got the error:
** Unknown exception encountered with possibly-broken third-party extension
hgstyle
** which supports versions unknown of Mercurial.
** Please disable hgstyle and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.13 (default, Jul 2 2017, 22:24:59) [GCC 7.1.1 20170621]
** Mercurial Distributed SCM (version 4.2.2)
** Extensions loaded: strip, mq, hgstyle
Traceback (most recent call last):
File "/usr/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 83,
in run
status = (dispatch(req) or 0) & 255
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 164,
in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 295,
in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 303,
in _callcatch
return scmutil.callcatch(ui, func)
File "/usr/lib/python2.7/site-packages/mercurial/scmutil.py", line 146,
in callcatch
return func()
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 285,
in _runcatchfunc
return _dispatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 760,
in _dispatch
extensions.loadall(lui)
File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line
190, in loadall
_runextsetup(name, ui)
File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line
158, in _runextsetup
extsetup(ui)
File "/usr/lib/python2.7/site-packages/hgext/mq.py", line 3606, in
extsetup
dotable(getattr(extmodule, 'cmdtable', {}))
File "/usr/lib/python2.7/site-packages/hgext/mq.py", line 3597, in dotable
if func.norepo:
AttributeError: 'function' object has no attribute 'norepo'
I had to disable the hgstyle extension in ${GEM5_SRC}/.hg/hgrc to make it
work.
Iru
--
Please do not send me Microsoft Office/Apple iWork documents. Send
OpenDocument instead! http://fsf.org/campaigns/opendocument/
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users