Skip to content
Snippets Groups Projects
  1. Apr 05, 2022
  2. Mar 22, 2022
  3. Feb 20, 2022
  4. Feb 17, 2022
    • Pierre-Yves David's avatar
      tracked-key: remove the dual write and rename to tracked-hint · 6e559391f96e
      Pierre-Yves David authored
      The dual-write approach was mostly useless. As explained in the previous version
      of the help, the key had to be read twice before we could cache a value.
      
      However this "read twice" limitation actually also apply to any usage of the
      key. If some operation wants to rely of the "same value == same tracked set"
      property it would need to read the value before, and after running that
      operation (or at least, after, in all cases). So it cannot be sure the operation
      it did is "valid" until checking the key after the operation. As a resultat such
      operation can only be read-only or rollbackable.
      
      This reduce the utility of the "same value == same tracked set" a lot.
      
      So it seems simpler to drop the double write and to update the documentation to
      highlight that this file does not garantee race-free operation. As a result the
      "key" is demoted to a "hint".
      
      Documentation is updated accordingly.
      
      Differential Revision: https://phab.mercurial-scm.org/D12201
      6e559391f96e
    • Pierre-Yves David's avatar
      tracked-key: make it possible to upgrade to and downgrade from the feature · 5ba24e886cec
      Pierre-Yves David authored
      This seems rather important if we want people to start using it.
      
      Differential Revision: https://phab.mercurial-scm.org/D12198
      5ba24e886cec
  5. Feb 15, 2022
  6. Feb 02, 2022
  7. Feb 01, 2022
  8. Jan 11, 2022
  9. Jan 07, 2022
  10. Jan 11, 2022
  11. Dec 08, 2021
  12. Dec 06, 2021
  13. Dec 07, 2021
  14. Dec 06, 2021
  15. Oct 19, 2021
    • Pierre-Yves David's avatar
      dirstate-v2: freeze the on-disk format · bf11ff22a9af
      Pierre-Yves David authored
      It seems the format as reached a good balance. With a core of new capabilities
      that motivated it initially and enough new feature and room for future
      improvement to be a clear progress we can set a milestone for.
      
      Having the format frozen will help the feature to get real life testing, outside
      of the test suite.
      
      The feature itself stay experimental but the config gains a new name to avoid
      people enable non-frozen version by default.
      
      If too many bugs are reported during the RC we might move the format back to
      experimental and drop its support in future version (in favor of a new one)
      
      Differential Revision: https://phab.mercurial-scm.org/D11709
      bf11ff22a9af
  16. May 19, 2021
    • Simon Sapin's avatar
      dirstate-v2: Add `hg debugupgraderepo` command support · a43d256c041a
      Simon Sapin authored
      This command changes changes the file formats used inside an existing
      repository to what they would be in a new repository with the current config.
      
      For example:
      
          hg debugupgraderepo --config format.exp-dirstate-v2=1 --run
          hg debugupgraderepo --config format.exp-dirstate-v2=0 --run
      
      If a repository has a dirstate in v1 format, the first command would upgrade it
      to dirstate-v2. Conversely, if a repository has a dirstate in v2 format, the
      second command would downgrade it to v1. (Both may also run some unrelated
      upgrades.)
      
      Since `format.exp-dirstate-v2` is currently disabled by default, not specifying
      it in `--config` or any configuration file would result in the second command.
      
      Differential Revision: https://phab.mercurial-scm.org/D10769
      a43d256c041a
  17. Mar 29, 2021
  18. May 03, 2021
  19. Jan 14, 2021
  20. Apr 06, 2021
  21. Mar 04, 2021
  22. Jan 20, 2021
  23. Jan 14, 2021
  24. Jan 18, 2021
  25. Jan 08, 2021
  26. Dec 31, 2020
  27. Dec 16, 2020
  28. Dec 14, 2020
  29. Nov 30, 2020
Loading