##// END OF EJS Templates
this patch permits hgweb to show the deleted files in the changeset diff...
kreijack@inwind.REMOVEME.it -
r645:a55048b2 default
parent child Browse files
Show More
@@ -33,7 +33,6 b' Web:'
33 - hgweb: deliver static files (e.g. favicon, stylesheets)
33 - hgweb: deliver static files (e.g. favicon, stylesheets)
34 - hgweb personalization: timezone (display/change), display of
34 - hgweb personalization: timezone (display/change), display of
35 features
35 features
36 - hg export 240 shows -tkmerge (good), hgweb does not (bad).
37 - some web servers think hgweb.cgi.[di] is a CGI script with old-http://
36 - some web servers think hgweb.cgi.[di] is a CGI script with old-http://
38 (use quoting (see foo.d in Core) or document server configurations?)
37 (use quoting (see foo.d in Core) or document server configurations?)
39 - link children in hgweb
38 - link children in hgweb
@@ -208,7 +208,8 b' class hgweb:'
208 date2 = self.date(change2)
208 date2 = self.date(change2)
209
209
210 c, a, d, u = r.changes(node1, node2)
210 c, a, d, u = r.changes(node1, node2)
211 c, a, d = map(lambda x: filterfiles(x, files), (c, a, d))
211 if files:
212 c, a, d = map(lambda x: filterfiles(x, files), (c, a, d))
212
213
213 for f in c:
214 for f in c:
214 to = r.file(f).read(mmap1[f])
215 to = r.file(f).read(mmap1[f])
@@ -361,7 +362,7 b' class hgweb:'
361 filenode = hex(mf.get(f, nullid)), file = f))
362 filenode = hex(mf.get(f, nullid)), file = f))
362
363
363 def diff():
364 def diff():
364 yield self.diff(p1, n, changes[3])
365 yield self.diff(p1, n, None)
365
366
366 yield self.t('changeset',
367 yield self.t('changeset',
367 diff = diff,
368 diff = diff,
General Comments 0
You need to be logged in to leave comments. Login now