mercurial/templater.py
changeset 2874 3d6efcbbd1c9
parent 2643 3b53fa20dda8
child 3190 e18c3d08528d
equal deleted inserted replaced
2873:4ec58b157265 2874:3d6efcbbd1c9
   457         def showtags(**args):
   457         def showtags(**args):
   458             for x in showlist('tag', self.repo.nodetags(changenode), **args):
   458             for x in showlist('tag', self.repo.nodetags(changenode), **args):
   459                 yield x
   459                 yield x
   460 
   460 
   461         if self.ui.debugflag:
   461         if self.ui.debugflag:
   462             files = self.repo.changes(log.parents(changenode)[0], changenode)
   462             files = self.repo.status(log.parents(changenode)[0], changenode)[:3]
   463             def showfiles(**args):
   463             def showfiles(**args):
   464                 for x in showlist('file', files[0], **args): yield x
   464                 for x in showlist('file', files[0], **args): yield x
   465             def showadds(**args):
   465             def showadds(**args):
   466                 for x in showlist('file_add', files[1], **args): yield x
   466                 for x in showlist('file_add', files[1], **args): yield x
   467             def showdels(**args):
   467             def showdels(**args):