Skip to content
Snippets Groups Projects
  1. Jul 19, 2017
    • Ryan McElroy's avatar
      bookmarks: compatibility with new applychanges api · 078c3912
      Ryan McElroy authored
      Recent versions of mercuiral issue a devel-warn if the old recordchange api is
      used, but we want to remain backwards-compatible, so this patch refactors things
      to be forward-compatible and backwards-compatible.
      078c3912
  2. Jul 17, 2017
    • Durham Goode's avatar
      wlock: take wlock when writing map file · 78959c8e
      Durham Goode authored
      Upstream Mercurial now has a devel-warning when writing to a file without taking
      a lock. Since we already need write access to write the map file, let's take the
      wlock as well.
      78959c8e
  3. Jun 19, 2017
    • Kevin Bullock's avatar
      gitdirstate: use util.listdir if available · 006c837f
      Kevin Bullock authored
      Since hg 4.3, the upstream osutil module has been moved to
      mercurial.cext.osutil, but the util module also now re-exports
      everything in osutil.
      
      Thanks to Durham Goode and Yuya Nishihara for reporting and finding the
      right fix for this.
      006c837f
  4. Jun 09, 2017
    • Stanislau Hlebik's avatar
      git_handler: explicitly set default branch · 17f64b9b
      Stanislau Hlebik authored
      In upstream c0b16b801687be26d14cabe501678e24b2a3c117 there was a refactoring
      that caused current named branch to be set if branch wasn't specified. It makes
      hg-git tests fail. This diff fixes it by explicitly specifying default named
      branch.
      17f64b9b
  5. May 22, 2017
  6. May 12, 2017
  7. 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
  8. Apr 19, 2017
  9. 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
  10. Mar 09, 2017
  11. Mar 15, 2017
  12. 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
  13. 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
  14. Jan 08, 2016
  15. May 15, 2015
  16. 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
  17. Nov 13, 2016
  18. Dec 06, 2016
  19. Nov 18, 2016
  20. 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
  21. 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
  22. Sep 12, 2016
  23. 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
  24. 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
  25. Aug 12, 2016
  26. Aug 04, 2016
  27. Jul 21, 2016
  28. Apr 20, 2016
  29. Mar 28, 2016
  30. Feb 04, 2016
  31. Feb 02, 2016
Loading