Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
  2. Oct 28, 2017
  3. Oct 26, 2017
  4. Oct 25, 2017
  5. Oct 24, 2017
  6. Oct 20, 2017
  7. Oct 23, 2017
  8. Oct 04, 2017
  9. Oct 21, 2017
  10. Oct 20, 2017
  11. Aug 05, 2017
  12. Oct 20, 2017
  13. Oct 19, 2017
  14. Oct 18, 2017
    • Denis Laxalde's avatar
      log: handle binary files in --line-range patterns · 4554649a
      Denis Laxalde authored
      When a file is binary patch.trydiff() would yield None for 'hunkrange'. Handle
      this case in the hunksfilter() callback.
      Add tests with and without diff.git option as binary handling differs
      depending on this option's value.
      4554649a
  15. Oct 17, 2017
  16. Oct 19, 2017
  17. Oct 18, 2017
    • Paul Morelle's avatar
      sparse-read: ignore trailing empty revs in each read chunk · 1bde8e8e
      Paul Morelle authored
      An empty entry in the revlog may happen for two reasons:
      - when the file is empty, and the revlog stores a snapshot;
      - when there is a merge and both parents were identical.
      
      `hg debugindex -m | awk '$3=="0"{print}' | wc -l` gives 1917 of such entries
      in my clone of pypy, and 113 on my clone of mercurial.
      
      These empty revision may be located at the end of a sparse chain, and in some
      special cases may lead to read relatively large amounts of data for nothing.
      1bde8e8e
    • Jun Wu's avatar
      fsmonitor: use nonnormalset from dirstatemap · 2e350d2a
      Jun Wu authored
      `dirstate._nonnormalset` has been moved to `dirstate._map.nonnormalset` by
      60927b19ed65 (dirstate: move nonnormal and otherparent sets to dirstatemap)
      and is guaranteed to be existed.
      
      Let's update fsmonitor code to use the new `nonnormalset`. Thix fixed a perf
      regression that slows down `hg status` by 0.5 seconds in one of our
      production repos.
      
      Differential Revision: https://phab.mercurial-scm.org/D1184
      2e350d2a
  18. Oct 19, 2017
  19. Oct 18, 2017
Loading