Skip to content
Snippets Groups Projects
  1. Jan 09, 2021
  2. Jan 13, 2021
  3. Jan 14, 2021
  4. Jan 15, 2021
  5. Jan 14, 2021
  6. Jan 15, 2021
  7. Jan 14, 2021
  8. Jan 13, 2021
  9. Jan 08, 2021
  10. Jan 13, 2021
  11. Dec 18, 2020
    • Jörg Sonnenberger's avatar
      branchmap: avoid ancestor computations in absence of non-continous branches · c4b792fa109e
      Jörg Sonnenberger authored
      The branchhead computation is one of the more heavy operations for
      bigger repositories as it has to scan all changesets and potentially
      involves the expensive computation of the ancestor sets. Redo the
      computation to handle the common cases directly and use tighter
      conditions for when the ancestor scan is necessary. Most importantly,
      avoid it completely if the non-continous branches are processed in one
      update as seen in the initial computation after a clone.
      
      For the Mercurial repository, it gives a small 2-3% performance boost.
      For the NetBSD test repository, it cuts the time in half.
      
      Differential Revision: https://phab.mercurial-scm.org/D9631
      c4b792fa109e
  12. Jan 12, 2021
  13. Jan 13, 2021
  14. Jan 12, 2021
  15. Dec 29, 2020
  16. Jan 11, 2021
  17. Dec 21, 2020
  18. Dec 08, 2020
  19. Nov 20, 2020
  20. Dec 28, 2020
  21. Jan 08, 2021
  22. Jan 06, 2021
    • Pulkit Goyal's avatar
      sharesafe: add functionality to automatically downgrade shares · eec47efe219d
      Pulkit Goyal authored
      Reasoning is same as previous patch which adds automatic upgrade support.
      
      Downgrade is required as if automatic upgrade is enabled, all shares upgrade and
      then source repository downgrades, shares won't work. We need to downgrade them.
      
      Differential Revision: https://phab.mercurial-scm.org/D9680
      eec47efe219d
    • Pulkit Goyal's avatar
      sharesafe: introduce functionality to automatically upgrade shares · 0babe12ef35d
      Pulkit Goyal authored
      In past few months, we have developed a `share-safe` mode for sharing repository
      in which share source requirements and config values are shared with the shares.
      
      To get it rolling, an important task is to get these shares automatically
      upgraded. We are focusing on an installation where shares are created by scripts
      and test jobs. It will be difficult to manually upgrade these and we need some
      functionality to do so automatically.
      
      This patch introduces a config option to deal with it. If all of the following
      conditions are met, we upgrade the share repository automatically:
      
      * If the config option is enabled
      * Share source repository is share-safe enabled
      * Share is not share-safe enabled
      * Any command is run in the share
      
      Upgrading the share is pretty easy as it involves only editing the requirements
      file.
      
      Differential Revision: https://phab.mercurial-scm.org/D9679
      0babe12ef35d
    • Pulkit Goyal's avatar
      localrepo: move storevfs calculation out of if statement · 9804162a4053
      Pulkit Goyal authored
      In next patch, we will need this variable in else statement too. So, let's take
      it out.
      
      Differential Revision: https://phab.mercurial-scm.org/D9681
      9804162a4053
  23. Jan 11, 2021
  24. Jan 13, 2021
  25. Jan 08, 2021
  26. Dec 31, 2020
Loading