##// 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 > debugobsolete = debugobsolete -d '0 0'
16 > debugobsolete = debugobsolete -d '0 0'
17 > [phases]
17 > [phases]
18 > publish=False
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 > EOF
24 > EOF
20
25
21
26
@@ -723,9 +728,9 b' Use scmutil.cleanupnodes API to create d'
723
728
724 $ hg log -r 1a2a9b5b0030 -T '{whyunstable}\n'
729 $ hg log -r 1a2a9b5b0030 -T '{whyunstable}\n'
725 content-divergent: 4:70d5a63ca112 (draft) predecessor a178212c3433
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 content-divergent: 4:70d5a63ca112 (draft) predecessor a178
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 content-divergent: 70d5 (draft) predecessor a178
734 content-divergent: 70d5 (draft) predecessor a178
730
735
731 #if serve
736 #if serve
General Comments 0
You need to be logged in to leave comments. Login now