From: Rob H. <for...@us...> - 2002-03-02 07:24:28
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv8741/lib/SandWeb Modified Files: Repository.pm Log Message: CVS should be called with directory => 1, and prune => 1 by default. This is the equivalent to -dP to the CVS command, which causes directories to be checked out, but not if they are empty. Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.24 retrieving revision 1.25 diff -U2 -r1.24 -r1.25 --- Repository.pm 25 Feb 2002 23:52:24 -0000 1.24 +++ Repository.pm 2 Mar 2002 07:24:26 -0000 1.25 @@ -527,4 +527,11 @@ ); + unless ($prune) { + $prune = 1; + } + unless ($directories) { + $directories = 1; + } + if ($repo_type eq 'CVS') { %return = $vcs->update( |