Skip to content
Snippets Groups Projects
  1. Jan 09, 2021
  2. Jan 11, 2021
  3. Jan 07, 2021
  4. Jan 09, 2021
  5. Jan 14, 2021
  6. Jan 15, 2021
  7. Jan 14, 2021
  8. Jan 13, 2021
  9. Dec 18, 2020
    • Jörg Sonnenberger's avatar
      branchmap: avoid ancestor computations in absence of non-continous branches · c4b792fa
      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
      c4b792fa
  10. Jan 12, 2021
  11. Jan 08, 2021
  12. Jan 06, 2021
    • Pulkit Goyal's avatar
      sharesafe: add functionality to automatically downgrade shares · eec47efe
      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
      eec47efe
    • Pulkit Goyal's avatar
      sharesafe: introduce functionality to automatically upgrade shares · 0babe12e
      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
      0babe12e
  13. Jan 08, 2021
  14. Jan 12, 2021
  15. Jan 13, 2021
  16. Jan 08, 2021
  17. Dec 31, 2020
  18. Dec 16, 2020
  19. Dec 14, 2020
  20. Jan 02, 2021
  21. Dec 07, 2020
  22. Dec 14, 2020
  23. Dec 26, 2020
Loading