Skip to content
Snippets Groups Projects
  1. Jul 05, 2021
  2. Jun 25, 2021
    • Georges Racinet's avatar
      post-receive: fire after locks release for MR creation pushvar · 3238d801
      Georges Racinet authored
      Because the Rails application can perform Mercurial writes
      synchronously during treatment of the post-receive API call,
      we need the latter to happen only after full locks release.
      
      The only currently know case happens during Merge Request,
      creation, hence we change the behaviour on this stable branch
      only in that case. It would probably be better to make this
      inconditionally for the default branch (after all
      PostReceive should mean the reception is fully done).
      
      Closes heptapod#505
      3238d801
  3. Jun 16, 2021
  4. Jun 11, 2021
  5. May 27, 2021
  6. May 26, 2021
  7. May 25, 2021
  8. May 22, 2021
  9. May 20, 2021
  10. May 14, 2021
  11. May 13, 2021
  12. Apr 25, 2021
    • Georges Racinet's avatar
      Compat Mercurial 5.8: adapt tests for multi-path push/pull · 88670e10
      Georges Racinet authored
      The signature of the `pull` command changed from
      
      ```
      def pull(ui, repo, source, **opts)
      ```
      
      to
      
      ```
      def pull(ui, repo, *sources, **opts)
      ```
      
      As a result, it's not possible to use the named argument
      style for the source any more, but we can still pass it
      as an anonymous positional argument. It's a bit less
      explicit, but it works for all versions.
      
      (same thing with `push`)
      88670e10
    • Georges Racinet's avatar
      Compat Mercurial 5.8: adapt for more detail in subrepos parsing · 393dc943
      Georges Racinet authored
      The parsing of subrepos provides now more information than just
      the (qualified) local path if accessed with `parsed[section]`.
      
      Since our goal is (at this point) to refuse lots of operations on
      subrepos, ignoring the new information will be good enough for now,
      and that is what `parsed.items` does (returning a list of pairs).
      393dc943
    • Georges Racinet's avatar
      Tests: using the mercurial coverage plugin · 55e51a16
      Georges Racinet authored
      We'll need to run code depending of Mercurial version for 5.8
      55e51a16
    • Georges Racinet's avatar
      Compatibility with future hg-git 0.11 · bfd90356
      Georges Racinet authored
      hg-git 0.11 drops support for Python 2, and as a result, does not
      rewrap `OrderedDict` anymore. Since py-heptapod dropped Python 2 a
      while ago, we can import from `collections` directly.
      bfd90356
  13. May 12, 2021
  14. Apr 24, 2021
Loading