comparison mercurial/hgweb/webcommands.py @ 25133:3d82c517b9c5

paper: show branch/tags/bookmarks when viewing (issue3559)
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 20:00:47 +0800
parents 917b5a071888
children 339e3cc073ac
comparison
equal deleted inserted replaced
25132:917b5a071888 25133:3d82c517b9c5
128 extra=fctx.extra(), 128 extra=fctx.extra(),
129 branch=webutil.nodebranchnodefault(fctx), 129 branch=webutil.nodebranchnodefault(fctx),
130 parent=webutil.parents(fctx), 130 parent=webutil.parents(fctx),
131 child=webutil.children(fctx), 131 child=webutil.children(fctx),
132 rename=webutil.renamelink(fctx), 132 rename=webutil.renamelink(fctx),
133 tags=webutil.nodetagsdict(web.repo, fctx.node()),
134 bookmarks=webutil.nodebookmarksdict(web.repo, fctx.node()),
133 permissions=fctx.manifest().flags(f)) 135 permissions=fctx.manifest().flags(f))
134 136
135 @webcommand('file') 137 @webcommand('file')
136 def file(web, req, tmpl): 138 def file(web, req, tmpl):
137 """ 139 """