# HG changeset patch # User Pierre-Yves David # Date 1496070645 -7200 # Node ID 1e9b86ed78c998e54ae3b69daf146742295b7804 # Parent 5ed8af9c4a21d1ce7a238e46f51296b899faae37 template: make the template definition more manageable Readable config is readable diff -r 5ed8af9c4a21 -r 1e9b86ed78c9 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