mercurial/templatekw.py
changeset 37328 11d51e518808
parent 37276 45987e2b64f0
child 37503 49a8c2cc7978
equal deleted inserted replaced
37327:ebf139cbd4a1 37328:11d51e518808
   496     # This function will be replaced by templates fragments when we will have
   496     # This function will be replaced by templates fragments when we will have
   497     # the verbosity templatekw available.
   497     # the verbosity templatekw available.
   498     succsandmarkers = showsuccsandmarkers(context, mapping)
   498     succsandmarkers = showsuccsandmarkers(context, mapping)
   499 
   499 
   500     ui = context.resource(mapping, 'ui')
   500     ui = context.resource(mapping, 'ui')
       
   501     repo = context.resource(mapping, 'repo')
   501     values = []
   502     values = []
   502 
   503 
   503     for x in succsandmarkers:
   504     for x in succsandmarkers:
   504         values.append(obsutil.obsfateprinter(x['successors'], x['markers'], ui))
   505         v = obsutil.obsfateprinter(ui, repo, x['successors'], x['markers'],
       
   506                                    scmutil.formatchangeid)
       
   507         values.append(v)
   505 
   508 
   506     return compatlist(context, mapping, "fate", values)
   509     return compatlist(context, mapping, "fate", values)
   507 
   510 
   508 def shownames(context, mapping, namespace):
   511 def shownames(context, mapping, namespace):
   509     """helper method to generate a template keyword for a namespace"""
   512     """helper method to generate a template keyword for a namespace"""