Skip to content
Snippets Groups Projects
  1. Nov 01, 2017
  2. Oct 30, 2017
    • Boris Feld's avatar
      debug: print parsed bundle2 capabilities with debugcapabilities · 762ea8a1f5e7
      Boris Feld authored
      The bundle2 capabilities are hard to read in their encoded form. We parse and
      print them in a human friendly way.
      762ea8a1f5e7
    • Boris Feld's avatar
      debug: add a debugcapabilities commands · 7ee2d859f720
      Boris Feld authored
      This new debugcommand prints the capabilities of any remote in a human friendly
      way. Improved bundle2 capabilities support will be introduced in the next
      changesets.
      7ee2d859f720
    • Augie Fackler's avatar
      revert: no longer mark --interactive as experimental · 5910db5d1913
      Augie Fackler authored
      We seem to have settled down on behavior changes here (nothing
      matching revset `keyword(revert) and keyword(interactive)` since 4.2
      was released), so let's go ahead and advertise this excellent feature.
      
      .. feature:: revert --interactive
      
        The revert command now accepts the flag --interactive to allow reverting
        only some of the changes to the specified files.
      5910db5d1913
  3. Oct 26, 2017
  4. Nov 01, 2017
  5. Oct 31, 2017
    • Yuya Nishihara's avatar
      configitems: relax warning about unwanted default value · ff2110eadbfa
      Yuya Nishihara authored
      The original condition was a bit harsh for extension authors since third-party
      extensions need to preserve compatibility with older Mercurial versions, where
      no defaults would be loaded from the configtable. So let's silence the warning
      if the given default value matches, which should be harmless.
      ff2110eadbfa
  6. Oct 26, 2017
  7. Oct 31, 2017
  8. Oct 29, 2017
  9. Oct 28, 2017
  10. Oct 24, 2017
  11. Oct 20, 2017
  12. Oct 21, 2017
    • Matt Harbison's avatar
      tests: adjust hooks for Windows · aa05b95949fe
      Matt Harbison authored
      I'm not sure why these weren't working on Windows.  The failures were generally
      in the style of:
      
        -  remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b:  1 -> 0
        +  remote: "phase-move: $HG_NODE:  $HG_OLDPHASE -> $HG_PHASE"
      
      and
      
        -  abort: pretxnclose-bookmark.force-forward hook exited with status 1
        -  [255]
        +  abort: pretxnclose-bookmark.force-public hook exited with status 255
        +  [255]
      
      These failures originated in ee5f0d047b41::f6d17075608f.
      aa05b95949fe
    • Matt Harbison's avatar
      test-log-linerange: open binary file in binary mode · af924308110a
      Matt Harbison authored
      The '\n' characters were being translated on Windows, throwing off hg and git
      hashes, as well as the file content in the diff.
      af924308110a
  13. Oct 20, 2017
    • Matt Harbison's avatar
      test-arbitraryfilectx: stabilize for Windows · 9645c2a2bc2a
      Matt Harbison authored
      Previously, the second last test (context.arbitraryfilectx(..)) returned True on
      Windows.  I changed the repo setup sequence to import a patch, so that way the
      repo would have a proper symlink.  That made the last test fail, since it is
      comparing files in wdir(), one of which is not the expected symlink.
      
      Apparently the (feature !) line matching doesn't work well with (no-eol), so I
      had to conditionalize the test instead of the output.
      9645c2a2bc2a
  14. Oct 28, 2017
    • Durham Goode's avatar
      dirstate: remove excess attribute lookups for dirstate.status (issue5714) · ffeea2406276
      Durham Goode authored
      A recent refactor added a layer of abstraction to the dirstate which makes doing
      things like 'foo in dirstate' now require some extra Python attribute lookups.
      This is causing a 100ms slow down in hg status for mozilla-central.
      
      The fix is to hoist the inner dict's functions onto the main class once the lazy
      loading it complete, as well as store the actual functions before doing the
      status loop (as is done for other such functions).
      
      In my testing, it seems to address the performance regression, but we'll
      need to see the perf run results to know for sure.
      
      Differential Revision: https://phab.mercurial-scm.org/D1257
      ffeea2406276
  15. Oct 26, 2017
    • Durham Goode's avatar
      dirstate: avoid reading the map when possible (issue5713) (issue5717) · 6e66033f91cc
      Durham Goode authored
      Before the recent refactor, we would not load the entire map until it was
      accessed. As part of the refactor, that got lost and even just trying to load
      the dirstate parents would load the whole map. This caused a perf regression
      (issue5713) and a regression with static http serving (issue5717).
      
      Making it lazy loaded again fixes both.
      
      Differential Revision: https://phab.mercurial-scm.org/D1253
      6e66033f91cc
    • Durham Goode's avatar
      dirstate: move clear onto dirstatemap class · 0217f75b6e59
      Durham Goode authored
      A future diff will move the lazy loading aspect of dirstate to the dirstatemap
      class. This means it requires a slightly different strategy of clearing than
      just reinstantiating the object (since just reinstantiating the object will
      lazily load the on disk data again later instead of remaining permanently
      empty).
      
      So let's give it it's own clear function.
      
      Differential Revision: https://phab.mercurial-scm.org/D1252
      0217f75b6e59
  16. Oct 27, 2017
  17. Oct 28, 2017
  18. Oct 26, 2017
  19. Oct 25, 2017
  20. Oct 24, 2017
Loading