[PATCH 3 of 5] test-mq-qrefresh: drop single quoting of HGEDITOR value for Windows

Matt Harbison matt_harbison at yahoo.com
Fri Nov 20 16:23:22 CST 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1447702623 18000
#      Mon Nov 16 14:37:03 2015 -0500
# Node ID 1c927907247bbc22dad086cfed28591f49dcecc5
# Parent  ff75758f0a964061943a32fe36b06eae288a49e4
test-mq-qrefresh: drop single quoting of HGEDITOR value for Windows

This was failing with:

    sh: $TESTTMP/checkvisibility.sh: No such file or directory

diff --git a/tests/test-mq-qrefresh-replace-log-message.t b/tests/test-mq-qrefresh-replace-log-message.t
--- a/tests/test-mq-qrefresh-replace-log-message.t
+++ b/tests/test-mq-qrefresh-replace-log-message.t
@@ -223,7 +223,7 @@
   M file2
   ====
 
-  $ HGEDITOR='sh "$TESTTMP/checkvisibility.sh"' hg qrefresh -e
+  $ HGEDITOR="sh \"$TESTTMP/checkvisibility.sh\"" hg qrefresh -e
   ====
   0:25e397dabed2
   A file2


More information about the Mercurial-devel mailing list