1. 19 Jun, 2021 1 commit
  2. 03 Feb, 2021 2 commits
  3. 04 May, 2021 1 commit
    • Martin von Zweigbergk's avatar
      rewriteutil: use precheck from core if recent enough · 65d4e47d7f26
      Martin von Zweigbergk authored
      This commit makes the evolve extension's `rewriteutil.precheck()`
      simply delegate to the same function from Mercurial core, if that
      function is deemed recent enough. The way I made that check is by
      looking for `rewriteutil.find_new_divergence_from()`. That means that
      there's a range of commits (ba6881c6::8125bcd2^) where the user would
      see less detailed error messages if they are running with an hg
      version from that range (there are no released versions in that
      As you can see in the tests, switching to core's version of the
      function mostly affects error messages and exit codes.
  4. 19 Jun, 2021 5 commits
  5. 17 Jun, 2021 6 commits
  6. 21 Jun, 2021 1 commit
  7. 17 Jun, 2021 1 commit
  8. 16 Jun, 2021 1 commit
    • Anton Shestakov's avatar
      tests: improve tarball size check in test-check-sdist.t · 8e78e0f316b3
      Anton Shestakov authored
      Instead of relying on globs for checking numbers, let's rely on find(1)'s
      ability to check file size in a more intelligent way.
      I would write the number as +800k, but it's not supported in some
      implementations of find, so it's not portable. Instead have to use "c" to make
      find(1) use bytes instead of 512-byte blocks, which is the default (???).
      branch : stable
  9. 14 Jun, 2021 1 commit
  10. 04 Jun, 2021 1 commit
    • Anton Shestakov's avatar
      evolve: wrap the more modern wireprotov1server._capabilities() · fb90474ec53f
      Anton Shestakov authored
      This function is recommended for wrapping instead of capabilities(). It also
      needs less code from extensions, as this patch demonstrates.
      The function exists since 982f13bef503, which is 2014, so we can rely on this
      function to be present in any modern Mercurial.
  11. 29 May, 2021 2 commits
  12. 28 May, 2021 2 commits
  13. 26 May, 2021 1 commit
  14. 25 May, 2021 1 commit
  15. 24 May, 2021 4 commits
  16. 19 May, 2021 4 commits
  17. 08 May, 2021 2 commits
  18. 15 May, 2021 2 commits
    • Anton Shestakov's avatar
      next: refactor two if blocks into an if-elif block · 94aed9c7ce69
      Anton Shestakov authored
      We already checked the value of `needevolve and opts['evolve']` in the first if
      block above. In the first one it need to be True, in the second it needs to be
      False for the statements to execute. Since not(a or b) = not a and not b, we
      can join the second if block to the first one with an elif while dropping the
      explicit check.
      For me, this works better, because we're doing the same thing in both of these
      blocks (checking if working copy is dirty or not).
      branch : stable
    • Anton Shestakov's avatar
      tests: demonstrate current behavior of hg next with --merge and --evolve · 126b9be3482d
      Anton Shestakov authored
      branch : stable
  19. 02 May, 2021 1 commit
  20. 25 Apr, 2021 1 commit