# HG changeset patch # User Alexis S. L. Carvalho # Date 1147494307 25200 # Node ID 714f4d25a7a940dc8aa91d80c852e0f23cbdcea3 # Parent 89b15372df18acb50d000f32819240410c67dfe9 Fix hgweb.filediff The third argument to hgweb.diff should be a list, not a string. This fixes a bug found by xorAxAx, where hgweb would also show the diff for "README" when you ask for the diff for "Demo/cgi/README". diff -r 89b15372df18 -r 714f4d25a7a9 mercurial/hgweb.py --- a/mercurial/hgweb.py Fri May 12 18:39:37 2006 +0200 +++ b/mercurial/hgweb.py Fri May 12 21:25:07 2006 -0700 @@ -684,7 +684,7 @@ mf = self.repo.manifest.read(cs[0]) def diff(**map): - yield self.diff(p1, n, file) + yield self.diff(p1, n, [file]) yield self.t("filediff", file=file,