Skip to content
Snippets Groups Projects
  1. Nov 11, 2018
  2. Nov 13, 2018
  3. Oct 13, 2018
  4. Nov 08, 2018
  5. Oct 16, 2018
  6. Oct 15, 2018
    • Boris Feld's avatar
      sparse-revlog: skip the span check in the sparse-revlog case · 2f7e531ef3e7
      Boris Feld authored
      This significantly improves the performance on unbundling on smaller
      repositories.
      
      Mercurial: unbundling 1K revisions
      
          no-sparse-revlog:     500 ms
          sparse-revlog-before: 689 ms
          sparse-revlog-after:  484 ms
      
      Pypy: unbundling 1K revisions
      
          no-sparse-revlog:     1.242 s
          sparse-revlog-before: 1.135 s
          sparse-revlog-after:  0.860 s
      
      NetBeans: unbundling 1K revisions
      
          no-sparse-revlog:     1.386 s
          sparse-revlog-before: 2.368 s
          sparse-revlog-after:  1.191 s
      
      Mozilla: unbundling 1K revisions
      
          no-sparse-revlog:     3.103 s
          sparse-revlog-before: 3.367 s
          sparse-revlog-after:  3.093 s
      2f7e531ef3e7
  7. Oct 17, 2018
    • Augie Fackler's avatar
      histedit: import chistedit curses UI from hg-experimental · c36175456350
      Augie Fackler authored
      I don't tend to like curses interfaces, but this gets enough use at
      work that it seems like it's worth bringing into core. This is a
      minimal import from hg-experimental revision 4c7f33bf5f00, in that
      I've done the smallest amount of code movement and editing in order to
      import the functionality.
      
      .. feature::
      
          `hg histedit` will now present a curses UI if curses is available
          and `ui.interface` or `ui.interface.histedit` is set to `curses`.
      
      Differential Revision: https://phab.mercurial-scm.org/D5146
      c36175456350
  8. Nov 13, 2018
  9. Nov 06, 2018
  10. Nov 12, 2018
  11. Nov 04, 2018
  12. Nov 08, 2018
  13. Jan 18, 2015
    • Yuya Nishihara's avatar
      ui: extract helpers to write message with type or label · 83dd8c63a0c6
      Yuya Nishihara authored
      This provides a 'type' attribute to command-server clients, which seems
      more solid than relying on 'ui.<type>' labels. In future patches,
      type='progress' will be added to send raw progress information.
      83dd8c63a0c6
    • Yuya Nishihara's avatar
      commandserver: add experimental option to use separate message channel · 054d0fcba2c4
      Yuya Nishihara authored
      This is loosely based on the idea of the TortoiseHg's pipeui extension,
      which attaches ui.label to message text so the command-server client can
      capture prompt text, for example.
      
      https://bitbucket.org/tortoisehg/thg/src/4.7.2/tortoisehg/util/pipeui.py
      
      I was thinking that this functionality could be generalized to templating,
      but changed mind as doing template stuff would be unnecessarily complex.
      It's merely a status message, a simple serialization option should suffice.
      
      Since this slightly changes the command-server protocol, it's gated by a
      config knob. If the config is enabled, and if it's supported by the server,
      "message-encoding: <name>" is advertised so the client can stop parsing
      'o'/'e' channel data and read encoded messages from the 'm' channel. As we
      might add new message encodings in future releases, client can specify a list
      of encoding names in preferred order.
      
      This patch includes 'cbor' encoding as example. Perhaps, 'json' should be
      supported as well.
      054d0fcba2c4
  14. Nov 07, 2018
  15. Jan 18, 2015
  16. Nov 10, 2018
  17. Nov 11, 2018
  18. Nov 10, 2018
  19. Nov 07, 2018
  20. Nov 10, 2018
  21. Nov 09, 2018
    • Martin von Zweigbergk's avatar
      remotefilelog: avoid accessing repo instance after dispatch · 157f0e29eaa3
      Martin von Zweigbergk authored
      Upstream commit c5e6c1ba1c79 (hg: don't reuse repo instance after
      unshare(), 2018-09-12) poisoned the repo instance after
      unshare(). That made `hg unshare` fail with remotefilelog because we
      tried to close the fileserverclient after dispatch by accessing it via
      the repo. This patch fixes that by storing the reference to the
      fileserverclient at the beginning of dispatch.
      
      An analogous patch was sent for remotefilelog version in FB's
      hg-experimental as D5246.
      
      Differential Revision: https://phab.mercurial-scm.org/D5253
      157f0e29eaa3
Loading