1. 20 Aug, 2020 1 commit
  2. 07 Aug, 2020 1 commit
  3. 04 Aug, 2018 1 commit
    • Dan Villiom Podlaski Christiansen's avatar
      debuggitdir: add new command · 9e47dd1088ef
      Dan Villiom Podlaski Christiansen authored
      This is useful for interacting with the Git repository directly,
      either from shell scripts, the terminal, or perhaps an alias like
      this:
      
      [alias]
      git=!GIT_DIR=$(hg debuggitdir) git "$@"
      
      ...and with that, you can easily access features not offered by
      Dulwich such as `hg git gc`.
      9e47dd1088ef
  4. 23 Oct, 2020 3 commits
  5. 12 Jul, 2020 2 commits
  6. 20 Nov, 2020 1 commit
  7. 23 Oct, 2020 2 commits
  8. 13 Aug, 2020 1 commit
  9. 15 Sep, 2020 1 commit
  10. 11 Oct, 2020 1 commit
  11. 13 Aug, 2020 1 commit
  12. 15 Sep, 2020 2 commits
  13. 18 Aug, 2020 1 commit
    • Dan Villiom Podlaski Christiansen's avatar
      import: _always_ save the map after an import · c3f19d62a6f6
      Dan Villiom Podlaski Christiansen authored
      Pulls aren't done in a transaction, so you can safely interrupt them,
      and get a partial result. Unfortunately, the commit map isn't updated,
      so once you resume the pull, it'll begin at the start at same commit as
      last, rather than where interrupted.
      
      With this tiny change, I can interrupt and resume long-running pulls
      at leisure.
      
      There's no test, since writing the required infrastructure seems a bit
      overkill.
      c3f19d62a6f6
  14. 03 Aug, 2020 1 commit
    • muxator's avatar
      gitnodekw: do not crash on hg incoming when log template includes gitnode() · d6ac1ae9027a
      muxator authored
      Before this change, if the user's log template included a call to gitnode() to
      show the git commit hash, invoking "hg incoming" on a git repository that had at
      least one incoming change failed with:
      
         AttributeError: 'overlayrepo' object has no attribute 'githandler'
      
      Since an incoming changeset should already have well defined git commit hashes,
      there is no apparent reason for which "hg incoming" should not have this
      information already.
      
      This change is a workaround that removes any reference to the hg-git structures
      from the incoming changeset, thus merely avoiding the crash.
      
      Fixes #239 (#239)
      d6ac1ae9027a
  15. 06 Aug, 2020 5 commits
  16. 14 Jun, 2020 2 commits
  17. 23 Jul, 2020 1 commit
    • Manuel Jacob's avatar
      compat: fix compatibility with upstream Mercurial · bf279164db2b
      Manuel Jacob authored
      Mercurial changeset 3b7aabd02e11 changed some code from `repo[ctx.p1().node()]`
      to `ctx.p1()`. `ctx.p1()` is using `ctx._parents`. The base class’s `_parents`
      returns instances of type `changectx` instead of `overlaychangectx`, leading to
      a crash later. Therefore we override `_parents` instead of `parents()`.
      
      The base class’s `parents()` method returns `self._parents`, so the return value
      of `parents()` is unchanged.
      bf279164db2b
  18. 11 Jun, 2020 1 commit
  19. 13 Jun, 2020 1 commit
  20. 12 Jun, 2020 6 commits
  21. 13 May, 2020 5 commits