mercurial/cmdutil.py
changeset 28428 6a4a4ca21907
parent 28384 3356bf61fa25
child 28449 3072ce740945
equal deleted inserted replaced
28427:969a4615c4c4 28428:6a4a4ca21907
  2204     props['templ'] = templ
  2204     props['templ'] = templ
  2205     props['cache'] = cache
  2205     props['cache'] = cache
  2206     def formatnode(repo, ctx):
  2206     def formatnode(repo, ctx):
  2207         props['ctx'] = ctx
  2207         props['ctx'] = ctx
  2208         props['repo'] = repo
  2208         props['repo'] = repo
       
  2209         props['ui'] = repo.ui
  2209         props['revcache'] = {}
  2210         props['revcache'] = {}
  2210         return templater.stringify(templ('graphnode', **props))
  2211         return templater.stringify(templ('graphnode', **props))
  2211     return formatnode
  2212     return formatnode
  2212 
  2213 
  2213 def displaygraph(ui, repo, dag, displayer, edgefn, getrenamed=None,
  2214 def displaygraph(ui, repo, dag, displayer, edgefn, getrenamed=None,