VCS::LibCVS::Client::Connection::Pserver - a connection to a cvs pserver
my $conn = VCS::LibCVS::Client::Connection->new($root);
A connection to cvs process on a remote machine using the pserver protocol. See VCS::LibCVS::Client::Connection for an explanation of the API.
The connection is establised through the network. The default port is the standard pserver port, 2401.
VCS::LibCVS::Client::Connection
The name of the sandbox admin directory.
$pserver_connection = VCS::LibCVS::Client::Connection::Ext->new($root)
Construct a new external CVS connection.
An authentication routine which does pserver logins using the ~/.cvspass file. By default it will search for the necessary password in ~/.cvspass. If the password isn't there (and it's running on a tty) it will prompt for it, and write it to the ~/.cvspass file. This behaviour can be customized by several variables, described below.
This function is loaded into the LibCVS authentication function list, and observes the parameters and return values of those functions. See the documentation for @VCS::LibCVS::Authentication_Functions for more details.
The following configuration parameters are available:
Boolean, whether or not to search the ~/.cvspass file.
Boolean, whether or not to prompt for a password.
Boolean, whether or not to write a prompted password to ~/.cvspass. Search_CvsPass and Prompt must also be true for this to happen.
$client->connect()
Connect to a CVS repository via a pserver. This opens the connection to the pserver and authenticates, leaving IO::Handles available for talking to the server.
VCS::LibCVS::Client VCS::LibCVS::Client::Connection
To install VCS::LibCVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCS::LibCVS
CPAN shell
perl -MCPAN -e shell install VCS::LibCVS
For more information on module installation, please visit the detailed CPAN module installation guide.