mercurial/obsutil.py
changeset 52722 0cf5f9312b33
parent 52643 5cc8deb96b48
--- a/mercurial/obsutil.py	Sat Feb 01 13:04:32 2025 +0100
+++ b/mercurial/obsutil.py	Sat Feb 01 13:47:56 2025 +0100
@@ -417,7 +417,10 @@
 
     This is a first and basic implementation, with many shortcoming.
     """
-    diffopts = diffutil.diffallopts(leftctx.repo().ui, {b'git': True})
+    diffopts = diffutil.diffallopts(
+        leftctx.repo().ui,
+        {b'git': True, b'unified': 1},
+    )
 
     # Leftctx or right ctx might be filtered, so we need to use the contexts
     # with an unfiltered repository to safely compute the diff