##// END OF EJS Templates
templates: add "changeset.obsolete" label in command line style...
Denis Laxalde -
r31702:00f996f0 default
parent child Browse files
Show More
@@ -30,7 +30,8 b" lfile_copies_switch = '{if(file_copies_s"
30 # General templates
30 # General templates
31 _trouble_label = 'trouble.{trouble}'
31 _trouble_label = 'trouble.{trouble}'
32 _troubles_labels = '{if(troubles, "changeset.troubled {troubles%_trouble_label}")}'
32 _troubles_labels = '{if(troubles, "changeset.troubled {troubles%_trouble_label}")}'
33 _cset_labels = '{separate(" ", "log.changeset", "changeset.{phase}", "{_troubles_labels}")}'
33 _obsolete_label = '{if(obsolete, "changeset.obsolete")}'
34 _cset_labels = '{separate(" ", "log.changeset", "changeset.{phase}", "{_obsolete_label}", "{_troubles_labels}")}'
34 cset = '{label("{_cset_labels}",
35 cset = '{label("{_cset_labels}",
35 "changeset: {rev}:{node|short}")}\n'
36 "changeset: {rev}:{node|short}")}\n'
36
37
@@ -830,6 +830,13 b' test the default cmdline template'
830 trouble: unstable, bumped
830 trouble: unstable, bumped
831 summary: add babar
831 summary: add babar
832
832
833 $ hg log -T default -r 'obsolete()'
834 changeset: 6:3de5eca88c00
835 parent: 3:6f9641995072
836 user: test
837 date: Thu Jan 01 00:00:00 1970 +0000
838 summary: add obsolete_e
839
833
840
834 test summary output
841 test summary output
835
842
General Comments 0
You need to be logged in to leave comments. Login now