diff -r 4a012e531066 -r 3caa3698335e mercurial/logcmdutil.py --- 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,