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

Support Mercurial 4.1 in FishEye and Crucible

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 4.4.0, 4.3.2
    • None
    • 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

      FishEye/Crucible versions up to 4.3.1 do not work with Mercurial 4.1 binary, errors are observed:

      com.cenqua.fisheye.rep.RepositoryClientException: Problem with slurp - Fri Jan 20 15:04:56 UTC 2017: Repository index failed due to error
      com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: ** Unknown exception encountered with possibly-broken third-party extension felog
      ** which supports versions unknown of Mercurial.
      ** Please disable felog and try your action again.
      ** If that fixes the bug please report it to the extension author.
      ** Python 2.7.3 (default, Oct 26 2016, 21:01:49) [GCC 4.6.3]
      ** Mercurial Distributed SCM (version 4.1-rc)
      ** Extensions loaded: felog
      Traceback (most recent call last):
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/bin/hg", line 45, in <module>
          mercurial.dispatch.run()
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 63, in run
          sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255)
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 129, in dispatch
          ret = _runcatch(req)
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 219, in _runcatch
          return callcatch(ui, _runcatchfunc)
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 227, in callcatch
          return scmutil.callcatch(ui, func)
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/scmutil.py", line 152, in callcatch
          return func()
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 208, in _runcatchfunc
          return _dispatch(req)
        File "/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/FECRU-HGMATRIX-FECRUHGMATRIX29/output/hg-bin/mercurial-4.1-rc/fecru/lib/python2.7/site-packages/mercurial/dispatch.py", line 761, in _dispatch
          if not func.norepo:
      AttributeError: 'function' object has no attribute 'norepo'
      

      Seems to be caused by https://www.mercurial-scm.org/repo/hg/rev/acd30a95998024598eea5f42c0e357d2e5b7e0a6 change, removal of API deprecated after 3.8

      Workaround

      Use older (i.e. pre 4.1) Mercurial client on FishEye instance

      Attachments

        Issue Links

          Activity

            People

              pswiecicki Piotr Swiecicki
              pswiecicki Piotr Swiecicki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: