mercurial/logcmdutil.py
changeset 46498 3caa3698335e
parent 46497 4a012e531066
child 46675 6f4a481f182a
--- a/mercurial/logcmdutil.py	Thu Feb 04 13:21:01 2021 -0800
+++ b/mercurial/logcmdutil.py	Thu Feb 04 13:32:11 2021 -0800
@@ -247,7 +247,7 @@
             ui,
             ctx.repo(),
             diffopts,
-            ctx.p1(),
+            diff_parent(ctx),
             ctx,
             match=self._makefilematcher(ctx),
             stat=stat,