tests/test-rollback
branchstable
changeset 10775 c52057614c72
parent 10081 a5f3f9b1c42a
child 12156 4c94b6d0fb1c
--- a/tests/test-rollback	Fri Mar 26 17:02:49 2010 +0100
+++ b/tests/test-rollback	Wed Mar 24 01:43:24 2010 +0100
@@ -42,7 +42,7 @@
 #!/bin/sh
 echo "another precious commit message" > "$1"
 __EOF__
-chmod +x $HGTMP/editor
-HGEDITOR=$HGTMP/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g'
+chmod +x "$HGTMP"/editor
+HGEDITOR="'$HGTMP'"/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g'
 echo '.hg/last-message.txt:'
 cat .hg/last-message.txt