Skip to content
Snippets Groups Projects
  1. Dec 18, 2016
    • Gregory Szorc's avatar
      tests: add tests for git.findcopiesharder · dd5afdfe
      Gregory Szorc authored
      Previously, no explicit tests existed for this feature.
      
      The added tests demonstrate that git.findcopiesharder results in
      copy metadata being added to changesets adding files that were
      unmodified by that changeset.
      dd5afdfe
  2. Nov 01, 2016
    • timeless developer's avatar
      githandler: replace ref with bookmark · e810b2e1
      timeless developer authored
      Mercurial users are using bookmarks to represent git refs, so when
      we are unable to push a git ref to remote, we need to tell
      the hg user to add a bookmark (something they understand),
      instead of mentioning a ref (which is a foreign concept to them).
      e810b2e1
  3. Jan 08, 2016
  4. May 15, 2015
  5. Jan 09, 2017
    • Stanislau Hlebik's avatar
      hotfix: add unfiltered() method to fix tests · 6faa3391
      Stanislau Hlebik authored
      f05ede08dcf7d13794ccc9abb53877a50bf2b58b in mercurial main repo changed
      changeset_printer so that it outputs all the troubles for the changeset.
      To do it ctx.troubled() is accessed and in turn it asks for obsstore and
      unfiltered() repo. It causes tests failures in hg-git because overlay repo has
      neither obsstore field nor unfiltered method. This patch adds unfiltered method
      that always returns unfiltered repo from the handler.
      6faa3391
  6. Nov 13, 2016
  7. Dec 06, 2016
  8. Nov 18, 2016
  9. Oct 03, 2016
    • Ryan McElroy's avatar
      githandler: respect mapsavefrequency during export · d0ce6eae
      Ryan McElroy authored
      When importing changesets, hggit uses the config knob hggit.mapsavefrequency to
      determine how often to save the mapfile. This allows a user to interrupt the
      import without losing all progress.
      
      This patch adds this same functionality to the export mechanism.
      d0ce6eae
  10. Oct 06, 2016
    • Sietse Brouwer's avatar
      revset_gitnode: allow abbreviated hashes · a128b9a5
      Sietse Brouwer authored
      The previous implementation only allowed passing 40-hexdigit hashes or
      12-hexdigit abbreviations to `gitnode(hash)`. Shorter or longer hashes
      were accepted, but failed silently. With this fix, any unambiguous
      abbreviation is accepted. `gitnode(a5b)` selects the revision whose Git hash
      starts with `a5b`, if there is one, and aborts if there are several.
      a128b9a5
  11. Sep 12, 2016
  12. Sep 05, 2016
    • Ryan McElroy's avatar
      stop dying if extras is malformed · eb01d991
      Ryan McElroy authored
      A commit's extras field should be considered user-supplied input that can take
      any form. Trusting it to be properly formatted is dangerous and can prevent
      forward progress. Instead, swallow errors due to malformed extras and carry on.
      eb01d991
    • Ryan McElroy's avatar
      add progress to commit discovery phase · c4a2ef79
      Ryan McElroy authored
      In large repositories, the commit discovery phase can take minutes. Let's give
      the user feedback on how long it will take.
      c4a2ef79
  13. Sep 03, 2016
    • Sean Farley's avatar
      gitdirstate: only wrap for hg-git repos · 9c15c890
      Sean Farley authored
      Previously, if a user enables hg-git and in a non-git repo (i.e.
      hg-only) they have a .gitignore, then hg-git will try to parse that. I
      consider this a bug and a bad performance regression for what should be
      a no-op.
      9c15c890
  14. Aug 12, 2016
  15. Aug 04, 2016
  16. Jul 21, 2016
  17. Apr 20, 2016
  18. Mar 28, 2016
  19. Feb 04, 2016
  20. Feb 02, 2016
  21. Jan 14, 2016
  22. Jan 12, 2016
  23. Jan 08, 2016
  24. Jan 02, 2016
  25. Dec 31, 2015
    • durin42's avatar
      git_handler: work around dulwich using unicode for ref names · afea0e32
      durin42 authored
      Dulwich treats ref names internally as unicode strings (probably
      because of Python 3?), which means that at some points it tries to do
      os.path.join between the repo path and the unicode of the ref name,
      which fails miserably if we construct the repo with a str and not a
      unicode. Kludge around this problem.
      
      Fixes issue 172.
      
      This is a roll-forward of a593069575bb, which should be valid now that
      the previous change defends against accidentally writing unicode tags
      inside the templater.
      afea0e32
    • durin42's avatar
      hgrepo: ensure all git-origin tags are bytes · 5d45e0ed
      durin42 authored
      If we don't do this we might end up with unicodes being written using
      ui, which then breaks in popbuffer in test-encoding.t. This appears to
      be an academic concern until we start passing unicode paths to git
      repos, which we need to do in order to resolve some other problems. Yay.
      5d45e0ed
  26. Dec 08, 2015
Loading