--- a/mercurial/commands.py Tue May 12 13:06:34 2020 -0700
+++ b/mercurial/commands.py Thu May 07 16:54:17 2020 -0400
@@ -2502,8 +2502,8 @@
ui,
repo,
diffopts,
- node1,
- node2,
+ repo[node1],
+ repo[node2],
m,
stat=stat,
listsubrepos=opts.get(b'subrepos'),