changeset 27160 | c533435cbc37 |
parent 27159 | 7e10b860c174 |
child 27294 | 5aa2afb4f81a |
--- a/mercurial/hgweb/webcommands.py Sat Nov 28 16:46:31 2015 +0800 +++ b/mercurial/hgweb/webcommands.py Sat Nov 28 17:06:29 2015 +0800 @@ -792,7 +792,7 @@ style = req.form['style'][0] diffs = webutil.diffs(web.repo, tmpl, ctx, None, [path], parity, style) - if fctx: + if fctx is not None: rename = webutil.renamelink(fctx) ctx = fctx else: