Skip to content
Snippets Groups Projects
  1. Nov 24, 2020
  2. Nov 23, 2020
  3. Nov 22, 2020
  4. Nov 20, 2020
  5. Nov 22, 2020
  6. Nov 21, 2020
  7. Oct 24, 2020
  8. Aug 20, 2020
  9. Aug 07, 2020
  10. Aug 04, 2018
    • Dan Villiom Podlaski Christiansen's avatar
      debuggitdir: add new command · 9e47dd10
      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`.
      9e47dd10
  11. Oct 23, 2020
  12. Jul 12, 2020
  13. Nov 20, 2020
  14. Oct 23, 2020
  15. Aug 13, 2020
  16. Sep 15, 2020
  17. Oct 11, 2020
  18. Aug 13, 2020
  19. Sep 15, 2020
  20. Aug 18, 2020
    • Dan Villiom Podlaski Christiansen's avatar
      import: _always_ save the map after an import · c3f19d62
      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.
      c3f19d62
  21. Aug 03, 2020
    • muxator's avatar
      gitnodekw: do not crash on hg incoming when log template includes gitnode() · d6ac1ae9
      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)
      d6ac1ae9
  22. Aug 06, 2020
  23. Jun 14, 2020
  24. Jul 23, 2020
    • Manuel Jacob's avatar
      compat: fix compatibility with upstream Mercurial · bf279164
      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.
      bf279164
  25. Jun 11, 2020
Loading