tests/test-convert-svn-move
branchstable
changeset 10775 c52057614c72
parent 8523 5b7da468531b
child 11124 55abde5cba43
--- a/tests/test-convert-svn-move	Fri Mar 26 17:02:49 2010 +0100
+++ b/tests/test-convert-svn-move	Wed Mar 24 01:43:24 2010 +0100
@@ -17,14 +17,14 @@
 svnpath=`pwd | fix_path`
 # SVN wants all paths to start with a slash. Unfortunately,
 # Windows ones don't. Handle that.
-expr $svnpath : "\/" > /dev/null
+expr "$svnpath" : "\/" > /dev/null
 if [ $? -ne 0 ]; then
-    svnpath='/'$svnpath
+    svnpath="/$svnpath"
 fi
-svnurl=file://$svnpath/svn-repo
+svnurl="file://$svnpath/svn-repo"
 
 echo % convert trunk and branches
-hg convert --datesort $svnurl/subproject A-hg
+hg convert --datesort "$svnurl"/subproject A-hg
 
 cd A-hg
 hg glog --template '{rev} {desc|firstline} files: {files}\n'