Mercurial > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 5486:48c22c719f8c
hgweb_mod: update unidiff() calls and finish e5eedd74e70f job
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Sat, 03 Nov 2007 17:04:42 +0100 |
parents | 24de027551c1 |
children | 22713dce19f6 b29b75ce9645 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Fri Nov 02 14:44:33 2007 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Sat Nov 03 17:04:42 2007 +0100 @@ -196,17 +196,17 @@ for f in modified: to = c1.filectx(f).data() tn = c2.filectx(f).data() - yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, + yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, opts=diffopts), f, tn) for f in added: to = None tn = c2.filectx(f).data() - yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, + yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, opts=diffopts), f, tn) for f in removed: to = c1.filectx(f).data() tn = None - yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, + yield diffblock(mdiff.unidiff(to, date1, tn, date2, f, f, opts=diffopts), f, tn) def changelog(self, ctx, shortlog=False):