tests/testlib/push-checkheads-util.sh
branchmercurial-4.6
changeset 5368 844b1ad5b34b
parent 5320 1227553f82c6
--- a/tests/testlib/push-checkheads-util.sh	Wed Apr 08 01:17:01 2020 +0800
+++ b/tests/testlib/push-checkheads-util.sh	Fri May 08 22:50:09 2020 +0800
@@ -34,6 +34,6 @@
 
         echo >> "client/.hg/hgrc" "[ui]"
         echo >> "client/.hg/hgrc" "# simpler log output"
-        echo >> "client/.hg/hgrc" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\\n"'
+        printf >> "client/.hg/hgrc" "%s" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\n"'
     fi
 }