Skip to content
Snippets Groups Projects
  1. Jan 11, 2021
  2. Jan 13, 2021
  3. Jan 08, 2021
  4. Dec 31, 2020
  5. Jan 12, 2021
    • Simon Sapin's avatar
      rhg: use a release-mode executable in tests · e73b40c7
      Simon Sapin authored
      This allows the rhg build for test-rhg.t to share compiled dependencies
      such as hg-core with the hg-cpython build for other tests.
      
      For context, my wrapper script for the typical edit-compile-test
      cycle now looks like this:
      
          (cd rust && cargo +nightly-2020-10-04 fmt)
          (cd rust && cargo build --release -p rhg)
          make --silent local PURE=--rust
          python test/run-tests.py --local "$@"
      
      Differential Revision: https://phab.mercurial-scm.org/D9728
      e73b40c7
  6. Dec 29, 2020
    • Dan Villiom Podlaski Christiansen's avatar
      rust: fix file folding map · 5bae4bc9
      Dan Villiom Podlaski Christiansen authored
      The file folding map, frequently used on macOS, had two issues:
      
      * the means for converting it to Python didn't work
      * a minor typo when copying the python code, where `!=` became `==`
      
      With this, the rust code passes all tests on macOS.
      
      Test Plan:
      I'm currently doing a full test run on a case-insensitive file system. If it passes, perhaps we can change the platform check from an error to a warning?
      
      Differential Revision: https://phab.mercurial-scm.org/D9671
      5bae4bc9
  7. Jan 12, 2021
  8. Jan 13, 2021
  9. Jan 12, 2021
  10. Jan 08, 2021
  11. Dec 31, 2020
  12. Dec 30, 2020
  13. Dec 16, 2020
  14. Dec 14, 2020
  15. Dec 30, 2020
  16. Dec 14, 2020
    • Pulkit Goyal's avatar
      upgrade: rename finddeficiences() to find_format_upgrades() · 53d083fa
      Pulkit Goyal authored
      It was not obvious what does deficieny means and every format upgrade can't be a
      deficiency. There are some format upgrades like compression levels, share-safe
      which can't be understood at deficiencies.
      
      A change can be an upgrade or downgrade, however this `finddeficiences()` only
      used to find upgrades.
      
      This patch renames the function and related variables to make things more
      clearer. The ui message also got improved which is a good thing.
      
      Next patch will rename deficiency in general across the upgrade code.
      
      Differential Revision: https://phab.mercurial-scm.org/D9582
      53d083fa
  17. Jan 02, 2021
  18. Jan 11, 2021
  19. Dec 28, 2020
  20. Dec 07, 2020
  21. Dec 28, 2020
    • Jörg Sonnenberger's avatar
      largefiles: redo heads interception · bd31462a
      Jörg Sonnenberger authored
      The largefiles extension replaces the "heads" wire command and tries to
      redirect all uses towards the custom "lheads" wire command. As seen in
      issue6384, this doesn't currently work for ssh. Instead of hooking into
      the _callstream interface, properly register the command for the peer
      instance and monkeypatch the executor to do the redirection. This works
      transparently for both all kinds of peers and both for the batch and
      non-batch case.
      
      Differential Revision: https://phab.mercurial-scm.org/D9663
      bd31462a
  22. Jan 07, 2021
  23. Dec 20, 2020
  24. Dec 17, 2020
  25. Jan 06, 2021
  26. Jan 07, 2021
  27. Dec 14, 2020
    • Pulkit Goyal's avatar
      engine: unwrap a hard to understand for loop · 4d1cec4e
      Pulkit Goyal authored
      The loop was iterating over all the datafiles and maintaining a set to check
      whether filelogs have been processed, manifests have been processed or not.
      
      The code was hard to understand and it assumed that `alldatafiles` are ordered
      in a certain way.
      
      This refactors the for loop in separate parts for each manifests, changelog and
      filelogs. This will also help in future work where we will like more better
      handling on whether we want to upgrade filelogs or not.
      
      Differential Revision: https://phab.mercurial-scm.org/D9580
      4d1cec4e
Loading