equal
deleted
inserted
replaced
753 formatnode = ui.debugflag and (lambda x: x) or (lambda x: x[:12]) |
753 formatnode = ui.debugflag and (lambda x: x) or (lambda x: x[:12]) |
754 self.t = templater.templater(mapfile, {'formatnode': formatnode}, |
754 self.t = templater.templater(mapfile, {'formatnode': formatnode}, |
755 cache={ |
755 cache={ |
756 'parent': '{rev}:{node|formatnode} ', |
756 'parent': '{rev}:{node|formatnode} ', |
757 'manifest': '{rev}:{node|formatnode}', |
757 'manifest': '{rev}:{node|formatnode}', |
758 'filecopy': '{name} ({source})'}) |
758 'filecopy': '{name} ({source})', |
|
759 'extra': '{key}={value|stringescape}'}) |
759 # Cache mapping from rev to a tuple with tag date, tag |
760 # Cache mapping from rev to a tuple with tag date, tag |
760 # distance and tag name |
761 # distance and tag name |
761 self._latesttagcache = {-1: (0, 0, 'null')} |
762 self._latesttagcache = {-1: (0, 0, 'null')} |
762 |
763 |
763 def use_template(self, t): |
764 def use_template(self, t): |