--- a/contrib/synthrepo.py Fri Sep 12 17:43:37 2014 -0400
+++ b/contrib/synthrepo.py Fri Sep 12 21:38:52 2014 -0400
@@ -151,8 +151,7 @@
lastctx = repo[rev - 1]
if lastctx.rev() != nullrev:
interarrival[roundto(ctx.date()[0] - lastctx.date()[0], 300)] += 1
- diff = sum((d.splitlines()
- for d in ctx.diff(pctx, opts={'git': True})), [])
+ diff = sum((d.splitlines() for d in ctx.diff(pctx, git=True)), [])
fileadds, diradds, fileremoves, filechanges = 0, 0, 0, 0
for filename, mar, lineadd, lineremove, binary in parsegitdiff(diff):
if binary: