changeset 2497:1e9b86ed78c9

template: make the template definition more manageable Readable config is readable
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 29 May 2017 17:10:45 +0200
parents 5ed8af9c4a21
children b765650b37ee
files tests/test-evolve-templates.t
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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