changeset 134:13d609f8d830

fix problem with non wrapping file list fix file list not appearing in checkin
author jake@edge2.net
date Sat, 21 May 2005 16:21:16 -0700
parents fb84d3e71042
children c0faf50822ea
files mercurial/hgweb.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Sat May 21 16:13:42 2005 -0700
+++ b/mercurial/hgweb.py	Sat May 21 16:21:16 2005 -0700
@@ -138,7 +138,7 @@
         print self.tmpl.do_page('change_table.tmpl', 
                 author=obfuscate(changes[1]),
                 desc=nl2br(cgi.escape(changes[4])), date=datestr, 
-                files=''.join(files), revnum=i, revnode=hn)
+                files=' '.join(files), revnum=i, revnode=hn)
 
 class checkin(page):
     def __init__(self, repo, tmpl_dir, nodestr):
@@ -168,7 +168,8 @@
                 p1num=i1, p1node=h1, p2num=i2, p2node=h2, p2link=p2link,
                 mfnum=self.repo.manifest.rev(changes[0]), 
                 mfnode=hg.hex(changes[0]), author=obfuscate(changes[1]),
-                desc=nl2br(cgi.escape(changes[4])), date=datestr)
+                desc=nl2br(cgi.escape(changes[4])), date=datestr,
+                files=' '.join(files))
 
         (c, a, d) = self.repo.diffrevs(parents[0], self.node)
         change = self.repo.changelog.read(parents[0])