##// END OF EJS Templates
synthrepo: simply use the ui passed as a function argument
Yuya Nishihara -
r38603:c6398fc2 default
parent child Browse files
Show More
@@ -196,7 +196,7 b' def analyze(ui, repo, *revs, **opts):'
196 196 if lastctx.rev() != nullrev:
197 197 timedelta = ctx.date()[0] - lastctx.date()[0]
198 198 interarrival[roundto(timedelta, 300)] += 1
199 diffopts = diffutil.diffopts(ctx._repo.ui, {'git': True})
199 diffopts = diffutil.diffopts(ui, {'git': True})
200 200 diff = sum((d.splitlines()
201 201 for d in ctx.diff(pctx, opts=diffopts)), [])
202 202 fileadds, diradds, fileremoves, filechanges = 0, 0, 0, 0
General Comments 0
You need to be logged in to leave comments. Login now