Skip to content
Snippets Groups Projects
  1. 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
  2. Aug 06, 2020
  3. Jun 14, 2020
  4. 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
  5. Jun 11, 2020
  6. Jun 13, 2020
  7. Jun 12, 2020
  8. May 13, 2020
  9. May 10, 2020
  10. May 13, 2020
  11. May 12, 2020
  12. May 11, 2020
    • Manuel Jacob's avatar
      py3: fix hanging read of SSH subprocesses · 7faec0dd
      Manuel Jacob authored
      Previously, reading from SSH subprocesses did’t return on Python 3. Dulwich
      passes bufsize=0 to subprocess.Popen (default on Python 2, but not Python 3).
      Doing the same in hg-git fixed the issue.
      7faec0dd
  13. May 10, 2020
  14. Jun 03, 2019
  15. May 08, 2020
  16. May 03, 2020
  17. Dec 23, 2019
  18. Mar 06, 2020
  19. Mar 07, 2020
Loading