mercurial/obsutil.py
changeset 38519 4455e5d4d59c
parent 37328 11d51e518808
child 38568 f65e6095c5ac
--- a/mercurial/obsutil.py	Sun Jul 01 01:00:39 2018 +0530
+++ b/mercurial/obsutil.py	Tue May 22 15:02:52 2018 +0200
@@ -396,9 +396,9 @@
     # Leftctx or right ctx might be filtered, so we need to use the contexts
     # with an unfiltered repository to safely compute the diff
     leftunfi = leftctx._repo.unfiltered()[leftctx.rev()]
-    leftdiff = leftunfi.diff(git=1)
+    leftdiff = leftunfi.diff(opts={'git': True})
     rightunfi = rightctx._repo.unfiltered()[rightctx.rev()]
-    rightdiff = rightunfi.diff(git=1)
+    rightdiff = rightunfi.diff(opts={'git': True})
 
     left, right = (0, 0)
     while None not in (left, right):