Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 9963:a68fb6f4ae4b
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 30 Nov 2009 15:31:14 -0600 |
parents | 777c1df76ef4 0aa1a632262b |
children | 2e67734e1453 |
comparison
equal
deleted
inserted
replaced
9960:652064640e98 | 9963:a68fb6f4ae4b |
---|---|
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): |