pserver
is a method for giving remote access to CVS repository. Basically you run cvs
as a server listening on port 2401.
The "default" mode would be local access, where a developer has an account on the system hosting the CVS repository and accesses its directory and files directly. So for a local repository CVSROOT
would just be directory:
CVSROOT=/opt/path/to/my/repo
Although, if you like you can explicitly state this this is a local
respository:
CVSROOT=:local:/opt/path/to/my/repo
For a pserver
connection we have to specify some more, the host the repository is running on, our username, and the path to the repo on that host:
CVSROOT=:pserver:username@hostname:/opt/path/to/my/repo
A better mode for remote access for a CVS repository would be ext
which can used to access a repository via SSH.
CVSROOT=:ext:username@hostname:/opt/path/to/my/repo
CVS_RSH=ssh