You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Doisneau <jd...@gmail.com> on 2005/08/24 09:02:03 UTC
Windows fix for svncopy.pl
Don't really know what to do with this other than posting it here...
sub SVNCall
{
my ( $command, @options ) = @_;
# this block was added for the script to work fine with windows temporary
# directory pathes which include space characters
my $i=0; for(@options)
{
if(($options[$i] !~ /^".*"$/) && ($options[$i] =~ /[a-z]:.*\b/i))
{
$options[$i] = '"'.$_.'"';
}
$i++;
}
my @commandline = ( $svn, $command, @options );
....
}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org