Skip to content
Snippets Groups Projects
  1. Jun 01, 2015
  2. May 31, 2015
  3. May 28, 2015
  4. May 14, 2015
    • Gregory Szorc's avatar
      git_handler: properly handle paths when files converge · d153586c
      Gregory Szorc authored
      filectx.renamed() returns a 2-tuple or None. memfilectx.__init__ expects
      the copied argument to be either None or a string. Before, we were
      passing a 2-tuple, leading to the memfilectx storing the wrong type.
      This eventually resulted in doing a key lookup against a manifest
      with a 2-tuple, which made manifest.c throw an error.
      d153586c
  5. May 13, 2015
  6. May 12, 2015
  7. May 08, 2015
  8. May 03, 2015
  9. Apr 29, 2015
  10. Apr 22, 2015
  11. Apr 17, 2015
  12. Apr 16, 2015
  13. Apr 15, 2015
  14. Apr 10, 2015
    • Siddharth Agarwal's avatar
      git_mapfile.save_map: stop sorting the keys entirely · b56d4f4f
      Siddharth Agarwal authored
      There really is no point to this -- the sorting is expensive to compute and
      the structure is never actually used.
      
      For a mapfile with 1.5 million entries, this speeds up save_map from 3.6
      seconds to 0.87.
      
      This is probably the limit of the speedups we can get with pure-Python code.
      Any further speedups will have to be made by rewriting these bits in C.
      b56d4f4f
  15. Apr 13, 2015
  16. Apr 10, 2015
  17. Apr 03, 2015
    • Siddharth Agarwal's avatar
      overlaychangectx: return nullrev if commit has no parents · 517cf1b5
      Siddharth Agarwal authored
      In Mercurial, every commit has at least one parent -- root commits have the
      null revision as their parent. In Git, root commits don't have any parents.
      This difference needs to be papered over in hg-git for 'hg incoming' to work in
      Mercurial 3.4+.
      
      Note that this doesn't fix all the broken tests in default -- I haven't had
      time to investigate the others.
      517cf1b5
    • Siddharth Agarwal's avatar
      gitdirstate: use normalized path from _walkexplicit · da01212c
      Siddharth Agarwal authored
      Since 2bb13f2b778c in Mercurial, _walkexplicit returns a tuple, so ensure
      we are up to date and take the normalized path which is the first part of the
      tuple.
      
      Based on a patch by David Soria Parra <davidsp@fb.com>.
      da01212c
Loading