Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902421

jcheck fails with mercurial 4.8 with TypeError: walkchangerevs() takes exactly 4 arguments (5 given)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      Using hg 4.8 or higher causes jcheck to fail

      Repro:
      $ hg clone https://www.mercurial-scm.org/repo/hg mercurial
      $ cd mercurial
      $ hg checkout 4.7.2
      $ make all
      $ cd path/to/jdk
      $ path/to/mercurial/hg jcheck
      # no problem
      $ cd path/to/mercurial
      $ make clean
      $ hg checkout 4.8.2
      $ make all
      $ cd path/to/jdk
      $ path/to/mercurial/hg jcheck
      File "/home/aeubanks/jdk/jcheck/jcheck.py", line 806, in jcheck
          changeiter, matchfn = cmdutil.walkchangerevs(ui, repo, [], get, opts)
      TypeError: walkchangerevs() takes exactly 4 arguments (5 given)

            Unassigned Unassigned
            aeubanks Arthur Eubanks
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: