Mercurial > public > mercurial-scm > hg
comparison mercurial/templater.py @ 2875:3d6efcbbd1c9
remove localrepository.changes.
use localrepository.status instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 16:40:12 -0700 |
parents | 3b53fa20dda8 |
children | e18c3d08528d |
comparison
equal
deleted
inserted
replaced
2874:4ec58b157265 | 2875: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): |