- Timestamp:
- May 23, 2012, 1:29:16 PM (12 years ago)
- Location:
- devel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/VCS.pm
r1560 r1576 520 520 my $scheme = shift; 521 521 my $cmd = ""; 522 my $cmdopt = ""; 522 523 523 524 # If there is a socks proxy to use … … 528 529 } 529 530 531 if (defined $ENV{'PBVCSOPT'}) { 532 $cmdopt .= $ENV{'PBVCSOPT'}; 533 } 534 530 535 if ($scheme =~ /hg/) { 531 return($cmd."hg ")536 return($cmd."hg ".$cmdopt) 532 537 } elsif ($scheme =~ /git/) { 533 return($cmd."git ")538 return($cmd."git ".$cmdopt) 534 539 } elsif ($scheme =~ /svn/) { 535 return($cmd."svn ")540 return($cmd."svn ".$cmdopt) 536 541 } elsif ($scheme =~ /svk/) { 537 return($cmd."svk ")542 return($cmd."svk ".$cmdopt) 538 543 } elsif ($scheme =~ /cvs/) { 539 return($cmd."cvs ")544 return($cmd."cvs ".$cmdopt) 540 545 } elsif (($scheme =~ /http/) || ($scheme =~ /ftp/)) { 541 546 my $command = pb_check_req("wget",1); -
devel/pb/t/pbtest
r1575 r1576 122 122 sudo su - pbtest -c "cd pb ; svn co svn://localhost/pb ." 123 123 sudo su - pbtest -c "cd pb ; touch README ; svn add README ; svn ci --username pbtest --password pbtest -m 'add readme' README" 124 sudo su - pbtest -c " pb -p afio newproj afio"124 sudo su - pbtest -c "export PBVCSOPT='--username pbtest --password pbtest' ; pb -p afio newproj afio" 125 125 cat >> /tmp/afio.pb << EOF 126 126 defpkgdir afio = dummy
Note:
See TracChangeset
for help on using the changeset viewer.