Show More
@@ -196,17 +196,17 b' class hgweb(object):' | |||||
196 | for f in modified: |
|
196 | for f in modified: | |
197 | to = c1.filectx(f).data() |
|
197 | to = c1.filectx(f).data() | |
198 | tn = c2.filectx(f).data() |
|
198 | tn = c2.filectx(f).data() | |
199 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, |
|
199 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, | |
200 | opts=diffopts), f, tn) |
|
200 | opts=diffopts), f, tn) | |
201 | for f in added: |
|
201 | for f in added: | |
202 | to = None |
|
202 | to = None | |
203 | tn = c2.filectx(f).data() |
|
203 | tn = c2.filectx(f).data() | |
204 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, |
|
204 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, | |
205 | opts=diffopts), f, tn) |
|
205 | opts=diffopts), f, tn) | |
206 | for f in removed: |
|
206 | for f in removed: | |
207 | to = c1.filectx(f).data() |
|
207 | to = c1.filectx(f).data() | |
208 | tn = None |
|
208 | tn = None | |
209 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, |
|
209 | yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, | |
210 | opts=diffopts), f, tn) |
|
210 | opts=diffopts), f, tn) | |
211 |
|
211 | |||
212 | def changelog(self, ctx, shortlog=False): |
|
212 | def changelog(self, ctx, shortlog=False): |
General Comments 0
You need to be logged in to leave comments.
Login now