Skip to content
Snippets Groups Projects
  1. May 09, 2017
    • Durham Goode's avatar
      vfs: stop using repo.join/wjoin · 715cbf3f
      Durham Goode authored
      Mercurial 4.3 has completelu dropped the join and wjoin functions. Let's use the
      appropriate repo.vfs.join and repo.wvfs.join functions instead.
      
      I ran the tests against each version of Mercurial from 2.8 to 4.2. Things
      before 2.8 seem to already be broken for unrelated reasons.
      715cbf3f
  2. Apr 19, 2017
  3. Mar 15, 2017
    • Durham Goode's avatar
      repo: update repo.join to be repo.vfs.join · 78354607
      Durham Goode authored
      Upstream has deprecated repo.join in favor of repo.vfs.join, so let's update to
      match them. Old hg should have repo.vfs.join so I don't think this breaks
      backwards compatibility.
      78354607
  4. Mar 09, 2017
  5. Mar 15, 2017
  6. 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
  7. 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
  8. Jan 08, 2016
  9. May 15, 2015
  10. 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
  11. Nov 13, 2016
  12. Dec 06, 2016
  13. Nov 18, 2016
  14. 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
  15. 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
  16. Sep 12, 2016
  17. 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
  18. 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
  19. Aug 12, 2016
  20. Aug 04, 2016
  21. Jul 21, 2016
  22. Apr 20, 2016
  23. Mar 28, 2016
  24. Feb 04, 2016
  25. Feb 02, 2016
  26. Jan 14, 2016
  27. Jan 12, 2016
  28. Jan 08, 2016
Loading