mercurial/revset.py
changeset 38519 4455e5d4d59c
parent 38490 5d88fd1bc2af
child 38522 54d7aaa243cc
--- a/mercurial/revset.py	Sun Jul 01 01:00:39 2018 +0530
+++ b/mercurial/revset.py	Tue May 22 15:02:52 2018 +0200
@@ -1802,7 +1802,7 @@
         'phase': lambda r: repo[r].phase(),
         'substate': lambda r: repo[r].substate,
         'summary': lambda r: repo[r].description().splitlines()[0],
-        'diff': lambda r: list(repo[r].diff(git=True),)
+        'diff': lambda r: list(repo[r].diff(opts={'git': True}),)
     }
     for info in fields:
         getfield = _funcs.get(info, None)