mercurial/hgweb/webcommands.py
changeset 26781 1aee2ab0f902
parent 26136 6defc74f3066
child 26846 7c1b4840c2cd
equal deleted inserted replaced
26780:bbf544b5f2e9 26781:1aee2ab0f902
   738 
   738 
   739     Show how a file changed in a particular commit.
   739     Show how a file changed in a particular commit.
   740 
   740 
   741     The ``filediff`` template is rendered.
   741     The ``filediff`` template is rendered.
   742 
   742 
   743     This hander is registered under both the ``/diff`` and ``/filediff``
   743     This handler is registered under both the ``/diff`` and ``/filediff``
   744     paths. ``/diff`` is used in modern code.
   744     paths. ``/diff`` is used in modern code.
   745     """
   745     """
   746     fctx, ctx = None, None
   746     fctx, ctx = None, None
   747     try:
   747     try:
   748         fctx = webutil.filectx(web.repo, req)
   748         fctx = webutil.filectx(web.repo, req)