mercurial/cmdutil.py
changeset 9963 a68fb6f4ae4b
parent 9958 777c1df76ef4
parent 9961 0aa1a632262b
child 9975 2e67734e1453
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):