Skip to content
Snippets Groups Projects
  • Georges Racinet's avatar
    3ca1f7cd
    heptapod-ci: fixed job for Mercurial 4.6 by silencing warnings · 3ca1f7cd
    Georges Racinet authored
    Without these two flags, we get the following:
    
    ```
      devel-warn: changectx.__init__ is getting more limited, see context.changectxdeprecwarn() for details
      (compatibility will be dropped after Mercurial-4.6, update your code.) at: /tmp/hgtests.ShCiwV/install/lib/python/mercurial/localrepo.py:849 (__contains__)
    ```
    
    after inspection of the code paths, it turns out that these are self-inflicted
    Mercurial warnings. This can be seen with test-clone.t, the whole traceback
    does not involve hg-git at all.
    
    So the only practical solution we have is to silence the warnings.
    I think it's acceptable as long as it's for this single version and in
    particulary not for any version under active development or maintenance.
    3ca1f7cd
    History
    heptapod-ci: fixed job for Mercurial 4.6 by silencing warnings
    Georges Racinet authored
    Without these two flags, we get the following:
    
    ```
      devel-warn: changectx.__init__ is getting more limited, see context.changectxdeprecwarn() for details
      (compatibility will be dropped after Mercurial-4.6, update your code.) at: /tmp/hgtests.ShCiwV/install/lib/python/mercurial/localrepo.py:849 (__contains__)
    ```
    
    after inspection of the code paths, it turns out that these are self-inflicted
    Mercurial warnings. This can be seen with test-clone.t, the whole traceback
    does not involve hg-git at all.
    
    So the only practical solution we have is to silence the warnings.
    I think it's acceptable as long as it's for this single version and in
    particulary not for any version under active development or maintenance.