Skip to content
Snippets Groups Projects
  1. Aug 05, 2017
  2. Jul 24, 2017
  3. 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
  4. 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
  5. 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
  6. 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
  7. May 22, 2017
  8. May 12, 2017
  9. 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
  10. Apr 19, 2017
  11. 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
  12. Mar 09, 2017
  13. Mar 15, 2017
  14. 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
  15. 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
  16. Jan 08, 2016
  17. May 15, 2015
  18. 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
  19. Nov 13, 2016
  20. Dec 06, 2016
  21. Nov 18, 2016
  22. 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
  23. 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
  24. Sep 12, 2016
  25. 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
Loading