template: make the template definition more manageable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 29 May 2017 17:10:45 +0200
changeset 2497 1e9b86ed78c9
parent 2496 5ed8af9c4a21
child 2498 b765650b37ee
template: make the template definition more manageable Readable config is readable
tests/test-evolve-templates.t
--- a/tests/test-evolve-templates.t	Mon May 29 17:07:23 2017 +0200
+++ b/tests/test-evolve-templates.t	Mon May 29 17:10:45 2017 +0200
@@ -12,7 +12,10 @@
   > [extensions]
   > evolve =
   > [alias]
-  > tlog = log -G -T '{node|short}{if(precursors, "\n  Precursors: {precursors}")}\n  Successors: {successors}\n  Fate: {obsfate_quiet}\n'
+  > tlog = log -G -T '{node|short}\
+  >     {if(precursors, "\n  Precursors: {precursors}")}\
+  >     \n  Successors: {successors}\
+  >     \n  Fate: {obsfate_quiet}\n'
   > EOF
 
 Test templates on amended commit