diff tests/testlib/push-checkheads-util.sh @ 5229:fa1324e58fcf stable

head-checking: also test single head enforcement with topic They are an important part of why we want this.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 12 Mar 2020 02:08:39 +0100
parents b20d04641c0f
children 1227553f82c6
line wrap: on
line diff
--- a/tests/testlib/push-checkheads-util.sh	Mon Apr 06 07:26:40 2020 +0200
+++ b/tests/testlib/push-checkheads-util.sh	Thu Mar 12 02:08:39 2020 +0100
@@ -34,6 +34,6 @@
 
         echo >> "client/.hg/hgrc" "[ui]"
         echo >> "client/.hg/hgrc" "# simpler log output"
-        echo >> "client/.hg/hgrc" 'logtemplate ="{node|short} [{branch}] ({phase}): {desc}\\n"'
+        echo >> "client/.hg/hgrc" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\\n"'
     fi
 }