Skip to content
Snippets Groups Projects
  1. Aug 03, 2018
  2. Jul 21, 2018
  3. Jul 22, 2018
  4. Jul 21, 2018
  5. Aug 03, 2018
  6. Feb 08, 2018
    • Martin von Zweigbergk's avatar
      testrunner: allow multiple #testcases · 3086a8627b29
      Martin von Zweigbergk authored
      This lets you have multiple #testcases declarations and they're taken
      to be different dimensions of the test, so their cross product becomes
      the total set of test cases. For example:
      
        #testcases obsstore-on obsstore-off
        #testcases manifest-flat manifest-tree
      
          $ hg rebase ...
          ...
          #if obsstore-on
            $ hg log ...
          #endif
      
      Note that this is an excellent way to slow down the test suite, so use
      it with care.
      
      The feature is implemented by replacing most of the "case" variables
      that were strings before by an array of strings with each item a
      different dimension of the test case. The file names are created by
      joining the dimensions by "#"
      (e.g. test-foo.t#obsstore-on#manifest-flat).
      
      Differential Revision: https://phab.mercurial-scm.org/D4049
      3086a8627b29
  7. Aug 02, 2018
  8. Jul 31, 2018
    • Sushil Khanchi's avatar
      resolve: add confirm config option · f8732e33bcbc
      Sushil Khanchi authored
      This config setting gives a functionality to confirm before
      it re-merge all unresolved files. If this config is enabled,
      when you run 'hg resolve --all' it will prompt with a msg
      "re-merge all unresolved files (yn)?"
      
      To enable this functionality:
      [commands]
      resolve.confirm = True
      
      Differential Revision: https://phab.mercurial-scm.org/D3988
      f8732e33bcbc
  9. Jul 18, 2018
    • Martin von Zweigbergk's avatar
      revlog: remove side effect from failed nt_init() · d814bbd22946
      Martin von Zweigbergk authored
      If nt_init() successfully allocates memory for the node tree but then
      runs out of memory while trying to insert nullid into it, it will
      leave the node tree pointer set on the index object. That means that
      future node tree operations will think that the tree is properly
      initialized. It seems very unlikely to make a difference in practice
      (if nt_init() runs out of memory, not much else will probably work),
      but since I spotted it, I figured I might as well fix it.
      
      Differential Revision: https://phab.mercurial-scm.org/D4028
      d814bbd22946
  10. Jul 09, 2018
  11. Jul 21, 2018
  12. Aug 03, 2018
    • Martin von Zweigbergk's avatar
      narrow: move status-filtering to core and to ctx · e411774a2e0f
      Martin von Zweigbergk authored
      One of my recent changes from repo.status(ctx1, ctx2) to
      ctx1.status(ctx2) broke some of our Google-internal tests. The problem
      turned out to be that the narrow extension was overriding
      repo.status() to make it filter out paths outside the narrowspec. When
      I changed to ctx1.status(ctx2), then that filtering obviously got
      lost. ctx.status() seems like a better method to do the filtering in,
      so this patch moves the filtering into that method, thereby also
      moving it out of the extension and into core.
      
      Differential Revision: https://phab.mercurial-scm.org/D4068
      e411774a2e0f
  13. Jul 10, 2018
  14. Aug 02, 2018
  15. Jun 11, 2018
  16. Aug 02, 2018
  17. Aug 01, 2018
  18. Aug 02, 2018
  19. Jul 29, 2018
    • Gregory Szorc's avatar
      exchange: move simple narrow changegroup generation from extension · d99083996398
      Gregory Szorc authored
      The narrow extension completely replaced the function generating the
      changegroup part when a narrow changegroup was requested. Previous
      commits have taught the in-core changegroup code how to filter files
      based on a matcher. This commit teaches the in-core bundle2 part
      generation code to construct a matcher based on arguments. It
      will also emit a bundle2 part describing the narrow spec.
      
      I believe the changegroup part generation code in the narrow extension
      is now limited to ellipsis serving mode. i.e. core is now capable
      of narrow changegroup generation when ellipsis mode is disabled.
      
      Differential Revision: https://phab.mercurial-scm.org/D4014
      d99083996398
    • Gregory Szorc's avatar
      exchange: make narrow ACL presence imply narrow=True · 98df52d5042c
      Gregory Szorc authored
      And refactor the logic for determining when to invoke our custom
      changegroup part function so it is only conditional on
      narrow being set. This makes it more obvious under which
      conditions we should invoke the custom implementation.
      
      Also use raw strings so **kwargs works on Python 3.
      
      Differential Revision: https://phab.mercurial-scm.org/D4013
      98df52d5042c
  20. Jul 28, 2018
  21. Jul 22, 2018
  22. Jul 21, 2018
  23. Jul 22, 2018
  24. Jul 05, 2018
  25. Aug 01, 2018
Loading