[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to work with CVS?





> Fialckove OR wrote:
> i need to work with cvs
> 
> how do i get the list of files that in the server?
> how do i upload file?
> how di i replace file?


It's very dependent on how the CVS is setup. Using pserver? using rsh?
local copy?

The general theme is:

"cvs checkout module_name" will grab from the server the module (=top
level directory) you want.

"cvs add filename; cvs commit" will upload a file.

change a file and then "cvs commit" will update (replace) a file.

For all these commands to work you need to have a CVSROOT enviorment
variable defined and you need to be logged in (I assume you're using
pserver setup)

type: "export CVSROOT=":pserver:username@servername:/path/to/cvsroot" to
define the CVSROOT and then "cvs login" and enter you're passwod when
requested.

Hope this helps,
Gilad.

-- 
Gilad Ben-Yossef <gilad@benyossef.com> 
http://benyossef.com :: +972(54)756701
"The best cure for insomnia is to get a lot of sleep."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il