compat: fix compatibility with upstream Mercurial
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.
parent
f57d5dba
No related branches found
No related tags found
Please register or sign in to comment