changeset 2927:ee6ed2b29e1a

Fix hgweb's patch display in changeset view.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 18 Aug 2006 13:06:38 +0200
parents 8743188f4d2e
children 27da6dddd0ee
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Tue Aug 15 23:17:06 2006 -0500
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Aug 18 13:06:38 2006 +0200
@@ -134,7 +134,7 @@
             modified, added, removed = map(lambda x: filterfiles(files, x),
                                            (modified, added, removed))
 
-        diffopts = patch.diffopts(ui)
+        diffopts = patch.diffopts(self.repo.ui)
         for f in modified:
             to = r.file(f).read(mmap1[f])
             tn = r.file(f).read(mmap2[f])