Skip to content
Snippets Groups Projects
  1. Feb 22, 2025
  2. Jan 09, 2023
  3. Jan 11, 2022
  4. Dec 08, 2021
  5. Nov 10, 2021
  6. 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
  7. May 19, 2021
  8. Apr 09, 2021
  9. Jan 14, 2021
  10. Apr 06, 2021
  11. Nov 19, 2020
  12. Nov 23, 2020
  13. Apr 10, 2020
  14. Nov 12, 2018
  15. Sep 28, 2018
    • Pulkit Goyal's avatar
      narrow: check for servers' narrow support before doing anything (BC) · 06e75fbf9d6b
      Pulkit Goyal authored
      Recently we introduced narrow capabilities for the server. So we can check
      whether a server has narrow clone support or not before doing anything. This is
      BC because new clients won't be able to extend from old narrow-enabled servers.
      I *think* narrow is not used much (maybe just inside Google), also it's
      experimental so I think we can change this. We will need to this someday anyway.
      
      The "doesn't" in error is changed to "does not" because I think that's we do in
      core. I also changed one more instance of the error message to use 'does not'
      for consistency.
      
      Differential Revision: https://phab.mercurial-scm.org/D4789
      06e75fbf9d6b
  16. Sep 18, 2018
  17. Sep 12, 2018
    • Gregory Szorc's avatar
      commands: pass include and exclude options to hg.clone() · 4c807ec07888
      Gregory Szorc authored
      These arguments are defined by the narrow extension. Let's teach
      core to recognize them so we can delete some code from the narrow
      extension and start to exercise the in-core code for performing a
      narrow clone.
      
      We have no way of easily testing it, but this change should result in
      .hg/requires having the narrow requirement from the time the file
      is written rather than added as part of pull. We'll confirm this when
      we delete some monkeypatched functions from the narrow extension in
      later commits.
      
      Test output changed because hg.clone() is now receiving patterns
      and validation of those values is occurring sooner, before the exchange
      code runs and prints the message that was deleted.
      
      Differential Revision: https://phab.mercurial-scm.org/D4538
      4c807ec07888
  18. Sep 11, 2018
  19. Aug 08, 2018
  20. Aug 03, 2018
  21. Apr 04, 2018
    • Gregory Szorc's avatar
      simplestore: use a custom store for the simple store repo · c2c8962a9465
      Gregory Szorc authored
      Before, we used the default store, which was based on fncache
      and dotencode. After attempting to port tests to work with the
      simple store, I realized that fncache was more trouble than it is
      worth.
      
      This commit implements a proper store type for the simple repo -
      one that isn't based off fncache.
      
      This causes a number of new test failures because of tests
      expecting the full fncache store filename encoding. I may
      extend the store format in a subsequent commit to take the
      filename encoding parts of fncache that we can take
      (basically everything except hash encoding, since that isn't
      reversible). But for now, let's use encoded store.
      
      As part of this, we implement proper requirements support for
      repos created with the simple store. This should have been
      done from the beginning, as a requirement is needed to lock
      out clients that don't understand a storage format.
      
      A new hghave feature advertising the presence of fncache in repos
      has been added. Most tests touching the fncache are now conditional
      on that feature.
      
      Other tests have added the optional repo requirement to output.
      
      Differential Revision: https://phab.mercurial-scm.org/D3095
      c2c8962a9465
  22. Feb 02, 2018
  23. Jan 29, 2018
    • Augie Fackler's avatar
      narrow: import experimental extension from narrowhg revision cb51d673e9c5 · a2a6e724d61a
      Augie Fackler authored
      Adjustments:
       * renamed src to hgext/narrow
       * marked extension experimental
       * added correct copyright header where it was missing
       * updated hgrc extension enable line in library.sh
       * renamed library.sh to narrow-library.sh
       * dropped all files from repo root as they're not interesting
       * dropped test-pyflakes.t, test-check-code.t and test-check-py3-compat.t
       * renamed remaining tests to all be test-narrow-* when they didn't already
       * fixed test-narrow-expanddirstate.t to refer to narrow and not narrowhg
       * fixed tests that wanted `update -C .` instead of `merge --abort`
       * corrected a two-space indent in narrowspec.py
       * added a missing _() in narrowcommands.py
       * fixed imports to pass the import checker
       * narrow only adds its --include and --exclude to clone if sparse isn't
         enabled to avoid breaking test-duplicateoptions.py. This is a kludge,
         and we'll need to come up with a better solution in the future.
      
      These were more or less the minimum to import something that would
      pass tests and not create a bunch of files we'll never use.
      
      Changes I intend to make as followups:
       * rework the test-narrow-*-tree.t tests to use the new testcases
         functionality in run-tests.py
       * remove lots of monkeypatches of core things
      
      Differential Revision: https://phab.mercurial-scm.org/D1974
      a2a6e724d61a
Loading