changeset 267:c7f70d06b6b1

FIX: "hg commit --quiet" when committing while creating a new head
author Franz Glasner <hg@dom66.de>
date Fri, 04 Jan 2019 16:57:23 +0100
parents ca59a09959e3
children bdb0cbc4c515
files tests/lib-test-timestamps.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/lib-test-timestamps.sh	Fri Jan 04 16:13:31 2019 +0100
+++ b/tests/lib-test-timestamps.sh	Fri Jan 04 16:57:23 2019 +0100
@@ -79,7 +79,11 @@
     hg update -q -r4
     touch -d 2017-12-01T06:07:08Z files/test4-2.txt
     hg add files/test4-2.txt
-    hg ci -m 'A new test file in a second line of code'
+    if [ "$SHOW_OUTPUT" = "1" ]; then
+	hg ci -m 'A new test file in a second line of code'
+    else
+	hg ci --quiet -m 'A new test file in a second line of code'
+    fi
     if [ "$SHOW_OUTPUT" = "1" ]; then
 	echo "# Check the content of .hgtimestamps.db after adding a file in 2nd line of code"
 	cat .hgtimestamps.db