##// END OF EJS Templates
cmdutil: fix missing default 'extra' template
Patrick Mezard -
r9961:0aa1a632 default
parent child Browse files
Show More
@@ -755,7 +755,8 b' class changeset_templater(changeset_prin'
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')}
@@ -93,7 +93,7 b' cat changelog'
93
93
94 echo "# keys work"
94 echo "# keys work"
95 for key in author branches date desc file_adds file_dels file_mods \
95 for key in author branches date desc file_adds file_dels file_mods \
96 files manifest node parents rev tags diffstat; do
96 files manifest node parents rev tags diffstat extras; do
97 for mode in '' --verbose --debug; do
97 for mode in '' --verbose --debug; do
98 hg log $mode --template "$key$mode: {$key}\n"
98 hg log $mode --template "$key$mode: {$key}\n"
99 done
99 done
@@ -569,6 +569,33 b' diffstat--debug: 1: +1/-0'
569 diffstat--debug: 1: +4/-0
569 diffstat--debug: 1: +4/-0
570 diffstat--debug: 1: +2/-0
570 diffstat--debug: 1: +2/-0
571 diffstat--debug: 1: +1/-0
571 diffstat--debug: 1: +1/-0
572 extras: branch=default
573 extras: branch=default
574 extras: branch=default
575 extras: branch=default
576 extras: branch=foo
577 extras: branch=default
578 extras: branch=default
579 extras: branch=default
580 extras: branch=default
581 extras--verbose: branch=default
582 extras--verbose: branch=default
583 extras--verbose: branch=default
584 extras--verbose: branch=default
585 extras--verbose: branch=foo
586 extras--verbose: branch=default
587 extras--verbose: branch=default
588 extras--verbose: branch=default
589 extras--verbose: branch=default
590 extras--debug: branch=default
591 extras--debug: branch=default
592 extras--debug: branch=default
593 extras--debug: branch=default
594 extras--debug: branch=foo
595 extras--debug: branch=default
596 extras--debug: branch=default
597 extras--debug: branch=default
598 extras--debug: branch=default
572 # filters work
599 # filters work
573
600
574 hostname
601 hostname
General Comments 0
You need to be logged in to leave comments. Login now