Could someone tell me exactly what the “pserver” mode is, in regards to CVS? The term “pserver” is used frequently, but I’ve yet to find an explanation of what it actually is. If “pserver” is a special mode, then I assume there is a default mode as well. If so, what is the difference between the two?
Share
pserveris a method for giving remote access to CVS repository. Basically you runcvsas 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
CVSROOTwould just be directory:Although, if you like you can explicitly state this this is a
localrespository:For a
pserverconnection we have to specify some more, the host the repository is running on, our username, and the path to the repo on that host:A better mode for remote access for a CVS repository would be
extwhich can used to access a repository via SSH.