Comments
Patch
@@ -799,8 +799,19 @@ def summary(web, req, tmpl):
archives=web.archivelist("tip"))
@webcommand('filediff')
def filediff(web, req, tmpl):
+ """
+ /diff/{revision}/{path}
+ -----------------------
+
+ Show how a file changed in a particular commit.
+
+ The ``filediff`` template is rendered.
+
+ This hander is registered under both the ``/diff`` and ``/filediff``
+ paths. ``/diff`` is used in modern code.
+ """
fctx, ctx = None, None
try:
fctx = webutil.filectx(web.repo, req)
except LookupError: