##// END OF EJS Templates
webcommands: test that fctx is not None in filediff()...
av6 -
r27160:c533435c default
parent child Browse files
Show More
@@ -792,7 +792,7 b' def filediff(web, req, tmpl):'
792 style = req.form['style'][0]
792 style = req.form['style'][0]
793
793
794 diffs = webutil.diffs(web.repo, tmpl, ctx, None, [path], parity, style)
794 diffs = webutil.diffs(web.repo, tmpl, ctx, None, [path], parity, style)
795 if fctx:
795 if fctx is not None:
796 rename = webutil.renamelink(fctx)
796 rename = webutil.renamelink(fctx)
797 ctx = fctx
797 ctx = fctx
798 else:
798 else:
General Comments 0
You need to be logged in to leave comments. Login now