From: Nick J. <nje...@us...> - 2002-02-28 05:10:52
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv16381/bin Modified Files: sandweb.cgi Log Message: * changing menu checkout to menu module_checkout, updating relevant info Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.230 retrieving revision 1.231 diff -U2 -r1.230 -r1.231 --- sandweb.cgi 28 Feb 2002 04:59:36 -0000 1.230 +++ sandweb.cgi 28 Feb 2002 05:10:49 -0000 1.231 @@ -192,8 +192,8 @@ ); } - elsif ( $action eq 'checkout' ) { + elsif ( $action eq 'module_checkout' ) { if ($submit) { # called checkout commit - checkout_commit( + module_checkout_commit( ck_auth => $ck_auth, repo_name => $repo_name, @@ -203,5 +203,5 @@ } else { # called checkout menu - checkout_menu( + module_checkout_menu( ck_auth => $ck_auth, ); @@ -870,5 +870,5 @@ -sub checkout_menu { +sub module_checkout_menu { my %args = @_; my $ck_auth = $args{'ck_auth'}; @@ -893,5 +893,5 @@ my $content = $ui->get_menu( - MENU => 'checkout', + MENU => 'module_checkout', PROGNAME => $progname, REPO_LIST => \@repo_list, @@ -900,7 +900,7 @@ print CGI::header( -cookie => $ck_auth ); $ui->print_screen( - TITLE=> 'SandWeb : checkout', + TITLE=> 'SandWeb : module checkout', MENU_TITLE => 'SandWeb', - SUBMENU_TITLE => 'checkout', + SUBMENU_TITLE => 'module checkout', FOOTER => '', CONTENT => $content, @@ -1789,5 +1789,5 @@ ############################################################################### -# checkout commit +# module checkout commit # # Uses the Repository object to do a checkout of specified module @@ -1799,5 +1799,5 @@ ############################################################################### -sub checkout_commit { +sub module_checkout_commit { my %args = @_; my $ck_auth = $args{'ck_auth'}; @@ -1854,11 +1854,9 @@ ); -# foreach my $file (@filename) { - my %return = $repository->checkout( - file => "$module_name", - ); - push (@vcs_output, "$return{'output'}\n"); - push (@vcs_error, "$return{'error'}\n"); -# } + my %return = $repository->checkout( + file => "$module_name", + ); + push (@vcs_output, "$return{'output'}\n"); + push (@vcs_error, "$return{'error'}\n"); $log->debug('dump', \%return); @@ -1866,5 +1864,5 @@ if (! $return) { # uh oh, problem occured - checkout_menu( ck_auth => $ck_auth ); + module_checkout_menu( ck_auth => $ck_auth ); } @@ -1879,7 +1877,7 @@ print CGI::header( -cookie => $ck_auth ); $ui->print_screen( - TITLE=> "SandWeb : checkout", + TITLE=> "SandWeb : module checkout", MENU_TITLE => 'SandWeb', - SUBMENU_TITLE => "checkout", + SUBMENU_TITLE => "module checkout", FOOTER => '', CONTENT => $content, |