changeset 7311 | de9c87fe1620 |
parent 7310 | bd522d09d5e3 |
child 7345 | 55651328dfcc |
--- a/mercurial/hgweb/webutil.py Mon Nov 03 20:41:48 2008 +0100 +++ b/mercurial/hgweb/webutil.py Mon Nov 03 20:31:53 2008 +0100 @@ -143,6 +143,12 @@ return fctx +def listfilediffs(tmpl, files, node, max): + for f in files[:max]: + yield tmpl('filedifflink', node=hex(node), file=f) + if len(files) > max: + yield tmpl('fileellipses') + def diffs(repo, tmpl, ctx, files, parity): def countgen():