##// END OF EJS Templates
tests: split long templates that use {whyunstable} and put them in hgrc
av6 -
r37724:04b89360 default
parent child Browse files
Show More
@@ -16,6 +16,11 b' Enable obsolete'
16 16 > debugobsolete = debugobsolete -d '0 0'
17 17 > [phases]
18 18 > publish=False
19 > [templates]
20 > wuentryshort = '{instability}:{divergentnodes} {reason} {node|shortest}\n'
21 > whyunstableshort = '{whyunstable % wuentryshort}'
22 > wuentryshorter = '{instability}:{divergentnodes % " {node|shortest} ({phase})"} {reason} {node|shortest}\n'
23 > whyunstableshorter = '{whyunstable % wuentryshorter}'
19 24 > EOF
20 25
21 26
@@ -723,9 +728,9 b' Use scmutil.cleanupnodes API to create d'
723 728
724 729 $ hg log -r 1a2a9b5b0030 -T '{whyunstable}\n'
725 730 content-divergent: 4:70d5a63ca112 (draft) predecessor a178212c3433
726 $ hg log -r 1a2a9b5b0030 -T '{whyunstable % "{instability}:{divergentnodes} {reason} {node|shortest}\n"}'
731 $ hg log -r 1a2a9b5b0030 -T whyunstableshort
727 732 content-divergent: 4:70d5a63ca112 (draft) predecessor a178
728 $ hg log -r 1a2a9b5b0030 -T '{whyunstable % "{instability}:{divergentnodes % " {node|shortest} ({phase})"} {reason} {node|shortest}\n"}'
733 $ hg log -r 1a2a9b5b0030 -T whyunstableshorter
729 734 content-divergent: 70d5 (draft) predecessor a178
730 735
731 736 #if serve
General Comments 0
You need to be logged in to leave comments. Login now