mercurial/hgweb/webcommands.py
changeset 24084 ef06e2b1a3d1
parent 24083 5fbb5217a6c8
child 24085 0bf61eae67ab
equal deleted inserted replaced
24083:5fbb5217a6c8 24084:ef06e2b1a3d1
   495                 inbranch=webutil.nodeinbranch(web.repo, ctx),
   495                 inbranch=webutil.nodeinbranch(web.repo, ctx),
   496                 branches=webutil.nodebranchdict(web.repo, ctx))
   496                 branches=webutil.nodebranchdict(web.repo, ctx))
   497 
   497 
   498 @webcommand('tags')
   498 @webcommand('tags')
   499 def tags(web, req, tmpl):
   499 def tags(web, req, tmpl):
       
   500     """
       
   501     /tags
       
   502     -----
       
   503 
       
   504     Show information about tags.
       
   505 
       
   506     No arguments are accepted.
       
   507 
       
   508     The ``tags`` template is rendered.
       
   509     """
   500     i = list(reversed(web.repo.tagslist()))
   510     i = list(reversed(web.repo.tagslist()))
   501     parity = paritygen(web.stripecount)
   511     parity = paritygen(web.stripecount)
   502 
   512 
   503     def entries(notip, latestonly, **map):
   513     def entries(notip, latestonly, **map):
   504         t = i
   514         t = i