changeset 127:3f30d0fbf215

7902486: jcheck still fails with walkchangerevs() takes exactly 4 arguments (5 given) Reviewed-by: jjg Contributed-by: mikael.vidstedt@oracle.com
author jjg
date Mon, 08 Jul 2019 16:10:06 -0700
parents 4ac08a4210ec
children c5506ce082b3
files jcheck.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jcheck.py	Wed May 29 10:25:28 2019 -0700
+++ b/jcheck.py	Mon Jul 08 16:10:06 2019 -0700
@@ -801,7 +801,7 @@
         nop = lambda c, fns: None
         iter = cmdutil.walkchangerevs(repo, _matchall(repo), opts, nop)
         for ctx in iter:
-            ch.check(ctx, ctx.node())
+            ch.check(ctx.rev(), ctx.node())
     except (AttributeError, TypeError):
         # AttributeError:  matchall does not exist in hg < 1.1
         # TypeError:  walkchangerevs args differ in hg <= 1.3.1