I am new when it comes to linux and especially with bash scripts.
Basically what I want to do (in some mixed bash / pseudo code)
for entry in `svn list https://svn.xxx.../projects`
if already checked out
then
svn up https://svn.xxx.../projects/$entry some/local/path
else
svn co https://svn.xxx.../projects/$entry some/local/path
fi
... other stuff ...
done
My problem is that, unfortunately, some of our projects contain spaces in their names. I managed to build the “records”, but when I ran the subversion command, spaces in the URL were escaped. For instance.
svn co "https://svn.xxx.../projects/$myassembly" some/local/path
becomes
svn co https://svn.xxx.../projects/Project%20With%20Space some/local/path
and could not find the url.
I would be grateful for any help in solving this problem. Thanks
source
share