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

Mercurial (HG) 1.9 not compatible with FishEye

    XMLWordPrintable

Details

    Description

      See the following in 2. Changes after 1.8:

      Various functions have been moved from cmdutil.py to scmutil.py, including revrange/revsingle/revpair and match/matchall/matchfiles

      Also - at the top of the page, it seems we don't have a process for detecting breaking changes in mercurial:

      How to keep your extension compatible

      • Subscribe to this page to keep up-to-date on changes
      • Mark your calendar to test your extension before our scheduled releases (Mar 1, Jul 1, Nov 1)
      • Use introspection in helper functions to choose which interface to call, for example:
      def updatedir(*args, **kwargs):
          if hasattr(patch, 'updatedir'):
              patch.updatedir(*args, **kwargs)
          else:
              cmdutil.updatedir(*args, **kwargs)
      
      • Use inspect.getargspec() to deal with changing argument lists

      Attachments

        Issue Links

          Activity

            People

              mwatson@atlassian.com mwatson
              npellow Nick
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: