Skip to content
Snippets Groups Projects
  1. Nov 09, 2018
  2. Nov 08, 2018
  3. Nov 07, 2018
  4. Nov 06, 2018
  5. Nov 07, 2018
  6. Nov 06, 2018
  7. Nov 05, 2018
  8. Oct 19, 2018
  9. Nov 05, 2018
  10. Oct 03, 2018
    • Boris Feld's avatar
      perf: offer full details in perfrevlogwrite · 4dd7edeb3da9
      Boris Feld authored
      This will be useful for people who want to study the timing pattern more
      closely.
      4dd7edeb3da9
    • Boris Feld's avatar
      perf: introduce a perfrevlogwrite command · 164b2e77f9a5
      Boris Feld authored
      The command record times taken by adding many revisions to a revlog. Timing
      each addition, individually. The "added revision" are recreations of the
      original ones.
      
      To time each addition individually, we have to handle the timing and the
      reporting ourselves.
      
      This command is introduced to track the impact of sparse-revlog format on
      delta computations at initial storage time. It starts with the full text, a
      situation similar to the "commit". Additions from an existing delta are better
      timed with bundles.
      
      The complaints from `check-perf-code.py` are not relevant. We are accessing
      and "revlog" opener, not a repository opener.
      164b2e77f9a5
  11. Nov 06, 2018
  12. Nov 03, 2018
  13. Jan 18, 2015
    • Yuya Nishihara's avatar
      ui: label prompt and echo messages · d8997c5ce2ff
      Yuya Nishihara authored
      I'm going to add a dedicated command-server channel for status messages,
      which carries metadata alongside a message text. 'ui.*' label provides a
      hint how message text should be processed.
      d8997c5ce2ff
  14. Nov 03, 2018
  15. Nov 05, 2018
    • Boris Feld's avatar
      perf: fix perfrevlogrevisions --reverse · cbd251d479bb
      Boris Feld authored
      Currently, 'endrev' equals `len(revlog)`, a revision that does not exist.
      
      When asking for the reverse order, the arguments passed to xrange are
      `xrange(len(revlog), startrev)` which then crash.
      
      We need to offset 'endrev' by one so we don't crash anymore. Also, we offset
      'startrev' to ensure we get the same number of revisions with and without the
      `--reverse` option.
      
      Differential Revision: https://phab.mercurial-scm.org/D5228
      cbd251d479bb
  16. Nov 06, 2018
  17. Nov 05, 2018
    • Gregory Szorc's avatar
      localrepo: extract loading of hgrc files to standalone function · 473510bf0575
      Gregory Szorc authored
      Various 3rd party extensions supplement where per-repo config data
      lives. Looking at their sources, they resort to unorthodox means to
      inject the config data. And the way they do it is susceptible to
      corner cases. e.g. not processing automatic extension loads,
      not reacting to new or disabled extensions in configs, etc.
      
      This commit extracts the core logic of loading hgrc files into
      a standalone function so there is a clear function that can be
      monkeypatched to inject per-repo config data at repository open
      time.
      
      Differential Revision: https://phab.mercurial-scm.org/D5221
      473510bf0575
    • Martin von Zweigbergk's avatar
      revsets: make bookmark/named('re:nonexistent') not abort (issue6018) (BC) · 7ed611c60168
      Martin von Zweigbergk authored
      Foozy documented the differences between revsets branch(), tag(),
      bookmark(), and named() in eeb5d5ab14a6 (revset: raise RepoLookupError
      to make present() predicate continue the query, 2015-01-31). He seemed
      to want tag() to change behavior to not error out on non-matching
      regular expressions. I think it's instead bookmark() and named() that
      should not error out. So that's what this patch does.
      
      Differential Revision: https://phab.mercurial-scm.org/D5220
      7ed611c60168
  18. Nov 06, 2018
Loading