OS: Darwin 18.7.0
jcheck: changeset 127:3f30d0fbf215
When running jcheck with Mercurial version 4.9, the following error is thrown:
Traceback (most recent call last):
File "/usr/local/bin/hg", line 43, in <module>
dispatch.run()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 99, in run
status = dispatch(req)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 225, in dispatch
ret = _runcatch(req) or 0
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 376, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 384, in _callcatch
return scmutil.callcatch(ui, func)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/scmutil.py", line 165, in callcatch
return func()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 367, in _runcatchfunc
return _dispatch(req)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1021, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 756, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1030, in _runcommand
return cmdfunc()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1018, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/util.py", line 1670, in check
return func(*args, **kwargs)
File "/Users/jboes/Dev/openjdk/code-tools/jcheck/jcheck.py", line 806, in jcheck
changeiter, matchfn = cmdutil.walkchangerevs(ui, repo, [], get, opts)
TypeError: walkchangerevs() takes exactly 4 arguments (5 given)
~/Dev/openjdk/jdk/open $ hg --version
Mercurial Distributed SCM (version 4.9)
jcheck: changeset 127:3f30d0fbf215
When running jcheck with Mercurial version 4.9, the following error is thrown:
Traceback (most recent call last):
File "/usr/local/bin/hg", line 43, in <module>
dispatch.run()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 99, in run
status = dispatch(req)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 225, in dispatch
ret = _runcatch(req) or 0
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 376, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 384, in _callcatch
return scmutil.callcatch(ui, func)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/scmutil.py", line 165, in callcatch
return func()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 367, in _runcatchfunc
return _dispatch(req)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1021, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 756, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1030, in _runcommand
return cmdfunc()
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/dispatch.py", line 1018, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/local/Cellar/mercurial/4.9/lib/python2.7/site-packages/mercurial/util.py", line 1670, in check
return func(*args, **kwargs)
File "/Users/jboes/Dev/openjdk/code-tools/jcheck/jcheck.py", line 806, in jcheck
changeiter, matchfn = cmdutil.walkchangerevs(ui, repo, [], get, opts)
TypeError: walkchangerevs() takes exactly 4 arguments (5 given)
~/Dev/openjdk/jdk/open $ hg --version
Mercurial Distributed SCM (version 4.9)
- duplicates
-
CODETOOLS-7902486 jcheck still fails with walkchangerevs() takes exactly 4 arguments (5 given)
- Resolved
- relates to
-
CODETOOLS-7902421 jcheck fails with mercurial 4.8 with TypeError: walkchangerevs() takes exactly 4 arguments (5 given)
- Closed