Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5253

Support Mercurial 3.x

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.6.3, 3.7.0
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      See http://mercurial.selenic.com/wiki/WhatsNew
      mercurial 3.0 was released 1st May 2014, 3.0.1 a month later.
      mercurial 3.1 was released on 1st August 2014

      FishEye supports mercurial up to 2.9.1 https://confluence.atlassian.com/display/FISHEYE/Supported+platforms

      Add mercurial 3.0.x to the mercurial matrix build by editing Mercurial.groovy when this is done.

      Mercurial is not supported due to error in hgfelog.py script:

      Traceback (most recent call last):
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/bin/hg", line 43, in <module>
          mercurial.dispatch.run()
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
          sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 71, in dispatch
          ret = _runcatch(req)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 140, in _runcatch
          return _dispatch(req)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 850, in _dispatch
          cmdpats, cmdoptions)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 611, in runcommand
          ret = _runcommand(ui, options, cmd, d)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/extensions.py", line 196, in wrap
          return wrapper(origfn, *args, **kwargs)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/hgext/color.py", line 485, in colorcmd
          return orig(ui_, opts, cmd, cmdfunc)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 941, in _runcommand
          return checkargs()
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 912, in checkargs
          return cmdfunc()
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 847, in <lambda>
          d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/util.py", line 677, in check
          return func(*args, **kwargs)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/extensions.py", line 151, in wrap
          util.checksignature(origfn), *args, **kwargs)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/util.py", line 677, in check
          return func(*args, **kwargs)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/hgext/mq.py", line 3462, in mqcommand
          return orig(ui, repo, *args, **kwargs)
        File "/home/czawadka/sources/fe/etc/scm-hg-bin/target/mercurial-3.2.3/fecru/lib/python2.7/site-packages/mercurial/util.py", line 677, in check
          return func(*args, **kwargs)
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 95, in felog
          felognode(ui, repo, repo[r], **opts)
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 121, in felognode
          diffParent(ui, repo, ctx, commitState, f, opts.get('patch'), opts.get('converted'), opts.get('merges'), opts.get('changesets'))
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 136, in diffParent
          processPath(ui, repo, ctx, commitState, format, diffs, svnConversion, f)
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 141, in processPath
          state = pathstate(repo, ctx, commitState, svnConversion, f)
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 276, in __init__
          self._parents = getDeletedFileParents(ctx, path)
        File "/home/czawadka/sources/fe/output/dist/python/hg/hgfelog/hgfelog.py", line 264, in getDeletedFileParents
          ancestor0 = parents[0].ancestor(parents[1], ancestorContext)
      AttributeError: 'filectx' object has no attribute 'ancestor'
      

      Attachments

        Issue Links

          Activity

            People

              czawadka@atlassian.com Cezary Zawadka
              pswiecicki Piotr Swiecicki
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: