Skip to content
Snippets Groups Projects
  1. Mar 06, 2020
  2. May 03, 2020
  3. Mar 10, 2020
  4. Nov 24, 2019
  5. Mar 06, 2020
  6. Nov 25, 2019
  7. Nov 24, 2019
  8. Dec 23, 2019
  9. Mar 05, 2020
    • Manuel Jacob's avatar
      py3: use print as function · 7a13f6fa
      Manuel Jacob authored
      * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --fix=print --write {}`
      * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --doctests_only --fix=print --write {}`
      * remove extra newline at end of files introduced by last command
      * add `from __future__ import print_function` to Python files
      7a13f6fa
  10. Nov 22, 2019
  11. Nov 24, 2019
  12. Nov 12, 2019
  13. Mar 05, 2020
  14. Jun 03, 2019
  15. Mar 01, 2020
  16. Jan 11, 2020
  17. Dec 08, 2019
    • Georges Racinet's avatar
      overlaychangectx: adding attribute expected in future hg 5.3 · 5f912243
      Georges Racinet authored
      This `_maybe_filtered` attribute has been introduced in Mercurial
      revision 8a37203ab1d5, and is henceforth expected by some callers.
      
      Adding it inconditionnally should not harm on previous versions: it
      would simply not get used.
      5f912243
    • Georges Racinet's avatar
      compat: fixed access to status attributes · 3de074bf
      Georges Racinet authored
      as of Mercurial c5548b0b6847, status is no more a tuple. Its attributes
      must be accessed explicitely.
      
      These attributes have been available since 3.2 (introduced in cb4449921a1d),
      so that we don't need to introduce a conditional such as `isinstance(tuple)`.
      
      Technically, these are slots, so that performance-wise, such prefetching in
      locals should not matter, but they make for the smallest changeset.
      3de074bf
  18. Dec 22, 2019
    • Georges Racinet's avatar
      heptapod-ci: a job for current default branch of Mercurial · 1aa74ab1
      Georges Racinet authored
      Currently, the tests fail for this version of Mercurial, hence we'll
      add the job once they are fixed.
      
      Ideally, this changeset should be rebased on top of a revision that
      fixes hg-git for Mercurial default, hence validating the fix.
      1aa74ab1
    • Georges Racinet's avatar
      heptapod-ci: protecting outer commands from PYTHONPATH · 0259c8aa
      Georges Racinet authored
      All commands that make use of Python and are meant to retrieve or prebuild
      code should not themselves use potentially incompatible stuff from
      /ci/repos/mercurial.
      
      For instance, updating Mercurial to 'stable' should not risk using a
      random version of the mercurial Python package. It must instead use
      the one provided system-wide, that is consistent with the `hg` command.
      0259c8aa
  19. Dec 08, 2019
    • Georges Racinet's avatar
      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
  20. Dec 07, 2019
    • Georges Racinet's avatar
      heptapod-ci: job for Mercurial 4.6 · 7f5c876c
      Georges Racinet authored
      Noticed that some tests don't pass while working on the CI configuration.
      
      Ideally, this changeset should be rebased on top of a revision that
      fixes hg-git for Mercurial default, hence validating the fix.
      7f5c876c
  21. Dec 22, 2019
    • Georges Racinet's avatar
      tests: skipping test-illegal-contents on Git >= 2.24 · ed3767c0
      Georges Racinet authored
      Git behaviour and output has changed, in a way that seems
      hard to reconcile with glob or regex patterns.
      
      we'll probably have to write an entire variant of this test.
      In the meanwhile, this skipping should restore the main CI runs.
      ed3767c0
    • Georges Racinet's avatar
      tests: `gitbefore` feature family · a6ddd3f8
      Georges Racinet authored
      This is to run some tests only if the Git version is smaller than
      the given one.
      a6ddd3f8
    • Georges Racinet's avatar
      ci: using hg-git own test runner with prebuilt Mercurial · 5691890f
      Georges Racinet authored
      Now that Octobus images for CI of Mercurial extensions against
      a fixed Mercurial version have a prebuilt Mercurial,
      we can just use it, saving some
      computing resources and waiting time.
      
      Also, this makes sure that the CI will use the test runner
      provided with hg-git, which will avoid problems on older versions
      (seen one with a new skip rule).
      
      To avoid inconsistencies (hg executable importing the system wide
      mercurial Python package), we need to also set PYTHONPATH, and
      conversely unset it to run pip in before_script
      5691890f
Loading