##// END OF EJS Templates
webcommands: document "filediff" web command
Gregory Szorc -
r24092:55dfea65 default
parent child Browse files
Show More
@@ -797,6 +797,17 b' def summary(web, req, tmpl):'
797 797
798 798 @webcommand('filediff')
799 799 def filediff(web, req, tmpl):
800 """
801 /diff/{revision}/{path}
802 -----------------------
803
804 Show how a file changed in a particular commit.
805
806 The ``filediff`` template is rendered.
807
808 This hander is registered under both the ``/diff`` and ``/filediff``
809 paths. ``/diff`` is used in modern code.
810 """
800 811 fctx, ctx = None, None
801 812 try:
802 813 fctx = webutil.filectx(web.repo, req)
General Comments 0
You need to be logged in to leave comments. Login now