mercurial/hgweb/webcommands.py
changeset 24095 1f48b157dccf
parent 24094 9c810d46a093
child 24096 bb8b6d44fe1d
equal deleted inserted replaced
24094:9c810d46a093 24095:1f48b157dccf
   984                 child=webutil.children(fctx),
   984                 child=webutil.children(fctx),
   985                 permissions=fctx.manifest().flags(f))
   985                 permissions=fctx.manifest().flags(f))
   986 
   986 
   987 @webcommand('filelog')
   987 @webcommand('filelog')
   988 def filelog(web, req, tmpl):
   988 def filelog(web, req, tmpl):
       
   989     """
       
   990     /filelog/{revision}/{path}
       
   991     --------------------------
       
   992 
       
   993     Show information about the history of a file in the repository.
       
   994 
       
   995     The ``revcount`` query string argument can be defined to control the
       
   996     maximum number of entries to show.
       
   997 
       
   998     The ``filelog`` template will be rendered.
       
   999     """
   989 
  1000 
   990     try:
  1001     try:
   991         fctx = webutil.filectx(web.repo, req)
  1002         fctx = webutil.filectx(web.repo, req)
   992         f = fctx.path()
  1003         f = fctx.path()
   993         fl = fctx.filelog()
  1004         fl = fctx.filelog()