Skip to content
Snippets Groups Projects
  1. Apr 13, 2012
  2. Apr 10, 2012
  3. Apr 09, 2012
    • Bryan O'Sullivan's avatar
      dispatch: add support for statprof as a profiler · ee3f423d
      Bryan O'Sullivan authored
      This can be selected using the config variable profiling.type or
      the environment variable HGPROF ("ls" for the default, "stat" for
      statprof).  The only tuneable is the frequency, profiling.freq,
      which defaults to 1000 Hz.
      
      If statprof is not available, a warning is printed.
      ee3f423d
    • Steven Stallion's avatar
      ui: optionally quiesce ssl verification warnings on python 2.5 · 9cf7c9d5
      Steven Stallion authored
      Some platforms, notably Plan 9 from Bell Labs are stuck on older
      releases of Python. Due to restrictions in the platform, it is not
      possible to backport the SSL library to the existing Python port.
      This patch permits the UI to quiesce SSL verification warnings by
      adding a configuration entry named reportoldssl to ui.
      9cf7c9d5
  4. Apr 10, 2012
  5. Apr 06, 2012
  6. Apr 10, 2012
  7. Apr 08, 2012
    • Steven Stallion's avatar
      plan9: initial support for plan 9 from bell labs · f5dd179b
      Steven Stallion authored
      This patch contains support for Plan 9 from Bell Labs. A README is
      provided in contrib/plan9 which describes the port in greater detail.
      A new extension is also provided named factotum which permits the
      factotum(4) authentication agent to provide credentials for HTTP
      repositories. This extension is also applicable to other POSIX
      platforms which make use of Plan 9 from User Space (aka plan9ports).
      f5dd179b
  8. Apr 09, 2012
  9. Apr 08, 2012
  10. Apr 07, 2012
  11. Apr 06, 2012
  12. Apr 04, 2012
  13. Apr 05, 2012
    • Katsunori FUJIWARA's avatar
      mq: use list of already known target files instead of matching object for diff · 913d1fa6
      Katsunori FUJIWARA authored
      'hg qnew' passes matching object to 'patch.diff()' to specify target
      filenames, and it causes 'dirstate.walk()' via 'repo.status()' in
      'patch.diff()'.
      
      but target files are already known before 'patch.diff()' invocation.
      
      to avoid useless 'dirstate.walk()' invocation, this patch uses
      'changes' argument to pass already known target files to
      'patch.diff()' instead of 'match' argument.
      
      'changes' argument of 'patch.diff()' should have lists for modified,
      added and removed files separately, so this patch saves status of
      '.hgsubstate' before commit, and put it into appropriate list in
      'changes'.
      913d1fa6
    • Katsunori FUJIWARA's avatar
      mq: use exact matching in the second dirstate walking for efficiency of 'qnew' · 5d61e007
      Katsunori FUJIWARA authored
      'hg qnew' with pattern/-I/-X creates matching object with them, and
      uses it twice for 'dirstate.walk()': via 'repo.status()' and
      'repo.commit()'.
      
      this may cause full manifest scan in the second 'dirstate.walk()',
      even though mq already knows complete target filenames at the first
      'dirstate.walk()'.
      
      this patch creates exact matching object also in this case, and use it
      at 'repo.commit()' invocation to avoid full manifest scan in the
      second 'dirstate.walk()'.
      
      even though 'inclsubs' is added to 'pats' for original matching
      object, it is also passed to exact matching object, because
      subrepositories are deleted from result of 'dirstate.walk()' at the
      end of it.
      5d61e007
    • Jim Hague's avatar
      tests: avoid test-hup hanging on AIX · f64b25f1
      Jim Hague authored
      test-hup hangs on AIX. Under ksh89 on AIX (the default shell),
      
      echo Hello; while [ ! -s not-there ]; do true; done
      
      produces no output while the loop executes. Replacing 'true' with 'sleep 0'
      fixes, as does using a less broken shell. ksh93 is fine.
      
      Update check-code.py to look for this, and make same change in test-serve.t.
      In fact test-serve works fine, probably because of additional commands between
      echo and the loop, but that's a subtlety not easy to test for.
      f64b25f1
    • Bryan O'Sullivan's avatar
      parsers: incrementally parse the revlog index in C · 2cdd7e63
      Bryan O'Sullivan authored
      We only parse entries in a revlog index file when they are actually
      needed, and cache them when first requested.
      
      This makes a huge difference to performance on large revlogs when
      accessing the tip revision or performing a handful of numeric lookups
      (very common cases).  For instance, "hg --time tip --template {node}"
      on a tree with 300,000 revs takes 0.15 before, 0.02 after.
      
      Even for revlog-intensive operations (e.g. running "hg log" to
      completion), the lazy approach is about 1% faster than the eager
      parse_index2.
      2cdd7e63
    • Patrick Mézard's avatar
      mdiff: fix diff header generation for files with spaces (issue3357) · 16b75661
      Patrick Mézard authored
      diff ---/+++ should end filenames with a TAB when they contain spaces. Current
      code failed to do so when only the +++ file had spaces. This only happened with
      git renames from a name without space to one with space.
      16b75661
  14. Apr 03, 2012
  15. Mar 28, 2012
    • Matteo Capobianco's avatar
      templates/filters: extracting the user portion of an email address · e5788269
      Matteo Capobianco authored
      Currently, the 'user' filter is using util.shortuser(text) (which clearly
      doesn't extract only the user portion of an email address, even though the
      help text says it does).
      
      The new 'emailuser' filter uses the new util.emailuser(text) function which,
      instead, does exactly that.
      
      The help text on the 'user' filter has been modified accordingly.
      e5788269
  16. Apr 05, 2012
    • Patrick Mézard's avatar
      context: make changectx.mutable() benefit from .phase() logic · a1b6a63f
      Patrick Mézard authored
      This fixes "hg qimport -r null". Previous versions used to:
      - Traceback because null revision mutability was not defined
      - Add an empty -1.diff patch to the series
      
      The error message:
      
        abort: revision -1 is not mutable
      
      is symptomatic of a deeper problem in phase command revision handling. It could
      be fixed easily in the command itself but I feel a better fix must be done in
      phase API which raises the issue of phase updates atomicity: aborting in
      phases.advanceboundary/retractboundary requires a better rollback behaviour to
      avoid partial changes.
      a1b6a63f
    • Patrick Mézard's avatar
      d23197e0
  17. Apr 04, 2012
Loading