Skip to content
Snippets Groups Projects
  1. Apr 20, 2021
  2. Apr 16, 2021
  3. Apr 17, 2021
    • Kyle Lippincott's avatar
      tests: fix test-chg to ignore a warning about being unable to set locale · ec081d7f0009
      Kyle Lippincott authored
      This is apparently coming from bash when bash is providing the sh that we're
      using to execute the .sh file generated by run-tests for this test.
      
      Bash on my machine:
      ```
      $ sh --version
      GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
      Copyright (C) 2020 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      
      This is free software; you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      
      $ sh
      sh-5.1$ LC_CTYPE=unsupported_value echo hi
      sh: warning: setlocale: LC_CTYPE: cannot change locale (unsupported_value): No such file or directory
      hi
      ```
      
      Differential Revision: https://phab.mercurial-scm.org/D10468
      ec081d7f0009
  4. Apr 27, 2021
  5. Feb 23, 2021
    • Martin von Zweigbergk's avatar
      rewriteutil: check for divergence · ba6881c6a178
      Martin von Zweigbergk authored
      This code is adapted from the code in the evolve extension. It seems
      to be equivalent as far as the evolve extension's test suite can tell
      (the only impact when making their `precheck()` delegate to our
      version is that error messages are less detailed).
      
      I had to change the error message to work with "change branch of"
      being inserted as the action.
      
      Differential Revision: https://phab.mercurial-scm.org/D10518
      ba6881c6a178
  6. Apr 28, 2021
  7. Feb 11, 2021
  8. Apr 27, 2021
    • Martin von Zweigbergk's avatar
      help: add topic about evolution, based on text from evolve extension · da4e6d7a8fdd
      Martin von Zweigbergk authored
      I've taken the text produced by `hg help evolution` when the evolve
      extension is enabled and made that available by the same command with
      just hg core. Changes I've made:
      
       * Added "(EXPERIMENTAL)" to the title. (That doesn't hide the topic
         from `hg help`, though.)
      
       * Replaced old-style `experimental.evolution=<names>` config by
         new-style `experimental.evolution.<name>=true`.
      
       * Replaces a "obsolete markers" by "obsolescence markers".
      
       * Removed most content from "Current feature status".
      
      When the evolve extension is enabled, its help text takes precedence.
      
      Differential Revision: https://phab.mercurial-scm.org/D10516
      da4e6d7a8fdd
  9. Feb 11, 2021
  10. Apr 27, 2021
  11. Mar 28, 2021
  12. Apr 20, 2021
  13. Apr 19, 2021
  14. Apr 20, 2021
    • Pierre-Yves David's avatar
      store: exclude `undo.` nodemap's file from `walk` · 0b569c75d180
      Pierre-Yves David authored
      There are "temporary" local file that we should not be transfered by `walk` user
      like local clone and stream clone.
      
      This fix the small issue that the new tests highlighted.
      
      Differential Revision: https://phab.mercurial-scm.org/D10482
      0b569c75d180
    • Pierre-Yves David's avatar
      streamclone: treat volatile file as "fullfile" · aed6ceaad6d7
      Pierre-Yves David authored
      The nodemap related file might change (or get deleted) during the stream clone
      in a way incompatible with the streaming process.
      
      So we introduce a new flag for this type of file and integrate it with the
      existing `revlog_type` field recently added to `store.walk` returns.
      
      We use that new flat to dispatch such file to the existing mechanism for "atomic
      replacement" file for the nodemap docket and datafile. This fix the bugs we have
      been adding tests for.
      
      Strictly speaking, the nodemap datafile is happened only a could maybe be used
      in a slightly more efficient way, however this is good enough for now.
      
      Differential Revision: https://phab.mercurial-scm.org/D10481
      aed6ceaad6d7
  15. Apr 19, 2021
  16. Apr 20, 2021
  17. Apr 19, 2021
  18. Apr 05, 2021
    • Pierre-Yves David's avatar
      revlog: replace revlog._io.size with a new revlog.index.entry_size · 3c9208702db3
      Pierre-Yves David authored
      The `revlogio` class is mostly a relic from the past. Once in charge of the full
      revlog related Input/Output code, that class gradually lost responsibilities to
      the point where more IO are now done by `revlog.index` objects or revlog objects
      themself. I would like to ultimately remove the `revlogio` class, to do so I
      start simple with move the "entry size" information on the index. (The index is
      already responsible of the binary unpacking, so it knows the size.
      
      Differential Revision: https://phab.mercurial-scm.org/D10309
      3c9208702db3
  19. Apr 14, 2021
  20. Apr 13, 2021
  21. Apr 16, 2021
  22. Apr 17, 2021
  23. Apr 05, 2021
  24. Apr 01, 2021
  25. Apr 15, 2021
Loading