From: Rob H. <for...@us...> - 2002-02-25 23:52:28
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Repository In directory usw-pr-cvs1:/tmp/cvs-serv25608/lib/SandWeb/Repository Modified Files: CVS.pm Log Message: VCS subsystem can now handle spaces in directories, and should fully work with the multi-repo stuff ( looks like everything below the first directory was not working properly :P ) Index: CVS.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository/CVS.pm,v retrieving revision 1.28 retrieving revision 1.29 diff -U2 -r1.28 -r1.29 --- CVS.pm 25 Feb 2002 23:27:32 -0000 1.28 +++ CVS.pm 25 Feb 2002 23:52:24 -0000 1.29 @@ -38,5 +38,5 @@ if ($message) { push @param, " -m $message" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -89,5 +89,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -116,5 +116,5 @@ if ($date) { push @param, " $date" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -154,5 +154,5 @@ }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -186,7 +186,7 @@ if ($recurse) { push @param, " -R" }; - print "cd $sandbox && cvs -d $root @param \"$file\" 2>&1"; + print "cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1"; - my $raw_output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $raw_output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -220,5 +220,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -244,5 +244,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -265,5 +265,5 @@ my @param = 'history'; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -286,5 +286,5 @@ my @param = 'init'; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -307,5 +307,5 @@ my @param = 'log'; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -336,5 +336,5 @@ } - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -354,5 +354,5 @@ my @param = 'logout'; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -378,5 +378,5 @@ if ($delete) { push @param, " -f" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -404,5 +404,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -430,5 +430,5 @@ if ($verbose) { push @param, " -v" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -464,5 +464,5 @@ if ($name) { push @param, " $name" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -488,5 +488,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -527,5 +527,5 @@ my @output_lines = (); - my @raw_output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my @raw_output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -578,5 +578,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; @@ -602,5 +602,5 @@ if ($recurse) { push @param, " -R" }; - my $output = `cd $sandbox && cvs -d $root @param \"$file\" 2>&1`; + my $output = `cd \"$sandbox\" && cvs -d $root @param \"$file\" 2>&1`; my $errorlevel = $?; |