VCS::LibCVS::Client::Request::ArgumentUsingRequests.3pm

Langue: en

Autres versions - même langue

Version: 2005-10-10 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

VCS::LibCVS::Client::Request::ArgumentUsingRequests - Classes for many requests

SYNOPSIS

   my $ci_request = VCS::LibCVS::Client::Request::ci->new();
   $client->submit_request($ci_request);
 
 

DESCRIPTION

In the CVS client protocol, a request whose behaviour is modified by a previous Argument request is called an ``Argument Using Request''. Those requests have their classes defined here, along with a common superclass.

As Argument Requests are sent, they are saved for the next Argument Using Request, whose behaviour they modify. Once they've modified an Argument Using Request's behaviour they are forgotten, and will not affect any more requests.

The Argument Using Requests are recognizable as the familiar CVS commands: co, up, ci, add, etc.

SUPERCLASS

   VCS::LibCVS::Client::Request
 
 

CLASSES

VCS::LibCVS::Client::Request::ArgumentUsingRequest

A common superclass for all the Argument Using Requests. These requests take no Data, so their constructors do not need any arguments.

uses_file_contents()

if ($request->uses_file_contents())
return type: boolean scalar

Returns true if this argument using request needs the contents of local copies of files to be sent to server. ``commit'' is such a request.

If this returns true, each local file should have a Modified or equivalent request issued for it, prior to issuing this request.

uses_file_entry()

if ($request->uses_file_entry())
return type: boolean scalar

Returns true if this argument using request needs the Entry information for local files to be sent to server. This information includes revision information. ``update'' is such a request.

If this returns true, each local file should have an Entry request issued for it, prior to issuing this request.

This routine and uses_file_contents() are separate because the ``tag'' request doesn't need the file contents.

VCS::LibCVS::Client::Request::ci

Commit one or more files.

VCS::LibCVS::Client::Request::diff

Find differences in one or more files.

VCS::LibCVS::Client::Request::tag

Tag one or more files.

VCS::LibCVS::Client::Request::status

Report the status of one or more files.

VCS::LibCVS::Client::Request::log

Get the logs of one or more files.

VCS::LibCVS::Client::Request::history

Get the history of one or more files.

VCS::LibCVS::Client::Request::annotate

Get annotations of one or more files.

VCS::LibCVS::Client::Request::co

Checkout one or more files.

VCS::LibCVS::Client::Request::export

Export one or more files.

VCS::LibCVS::Client::Request::update

Update one or more files.

VCS::LibCVS::Client::Request::add

Schedule one or more files for addition.

VCS::LibCVS::Client::Request::remove

Schedule one or more files for removal.

VCS::LibCVS::Client::Request::rdiff

Find differences in one or more files, without the need for a working directory.

VCS::LibCVS::Client::Request::rlog

Get the logs of one or more files.

SEE ALSO

   VCS::LibCVS::Client
   VCS::LibCVS::Client::Request