contrib/synthrepo.py
changeset 38587 b62000a28812
parent 38584 c6398fc2fc9c
child 38588 1c93e0237a24
--- a/contrib/synthrepo.py	Fri Jul 06 21:38:33 2018 +0900
+++ b/contrib/synthrepo.py	Fri Jul 06 21:41:36 2018 +0900
@@ -196,7 +196,7 @@
             if lastctx.rev() != nullrev:
                 timedelta = ctx.date()[0] - lastctx.date()[0]
                 interarrival[roundto(timedelta, 300)] += 1
-            diffopts = diffutil.diffopts(ui, {'git': True})
+            diffopts = diffutil.diffallopts(ui, {'git': True})
             diff = sum((d.splitlines()
                        for d in ctx.diff(pctx, opts=diffopts)), [])
             fileadds, diradds, fileremoves, filechanges = 0, 0, 0, 0