mercurial/hgweb/webcommands.py
changeset 27081 37290f2f2c3b
parent 27046 37fcfe52c68c
child 27158 522ffc189671
equal deleted inserted replaced
27080:ae2d3782d818 27081:37290f2f2c3b
  1043     latestentry = entries[:1]
  1043     latestentry = entries[:1]
  1044 
  1044 
  1045     revnav = webutil.filerevnav(web.repo, fctx.path())
  1045     revnav = webutil.filerevnav(web.repo, fctx.path())
  1046     nav = revnav.gen(end - 1, revcount, count)
  1046     nav = revnav.gen(end - 1, revcount, count)
  1047     return tmpl("filelog", file=f, node=fctx.hex(), nav=nav,
  1047     return tmpl("filelog", file=f, node=fctx.hex(), nav=nav,
       
  1048                 rev=fctx.rev(),
  1048                 symrev=webutil.symrevorshortnode(req, fctx),
  1049                 symrev=webutil.symrevorshortnode(req, fctx),
       
  1050                 branch=webutil.nodebranchnodefault(fctx),
       
  1051                 tags=webutil.nodetagsdict(web.repo, fctx.node()),
       
  1052                 bookmarks=webutil.nodebookmarksdict(web.repo, fctx.node()),
  1049                 entries=entries,
  1053                 entries=entries,
  1050                 latestentry=latestentry,
  1054                 latestentry=latestentry,
  1051                 revcount=revcount, morevars=morevars, lessvars=lessvars)
  1055                 revcount=revcount, morevars=morevars, lessvars=lessvars)
  1052 
  1056 
  1053 @webcommand('archive')
  1057 @webcommand('archive')