# HG changeset patch # User Benoit Boissinot # Date 1225178291 -3600 # Node ID 84f807918864bee63c3b27728ce211db920c06ed # Parent 9105467b81671bc2efe4faaf32d429830e5750e3 '\' should be escaped twice, for the shell, and for tr diff -r 9105467b8167 -r 84f807918864 tests/test-mq-qimport --- a/tests/test-mq-qimport Tue Oct 28 00:03:28 2008 +0100 +++ b/tests/test-mq-qimport Tue Oct 28 08:18:11 2008 +0100 @@ -35,7 +35,7 @@ rm foo # Under unix: file:///foobar/blah # Under windows: file:///c:/foobar/blah -patchurl=`echo $HGTMP/url.diff | tr '\\' /` +patchurl=`echo $HGTMP/url.diff | tr '\\\\' /` expr $patchurl : "\/" > /dev/null if [ $? -ne 0 ]; then patchurl='/'$patchurl