Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 31 to 31 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
For sharing project, adding a new project to repository
| ||||||||
Line: 58 to 59 | ||||||||
$ cvs -d /ubc/cs/home/y/yingyin/GanttChart <command> | ||||||||
Changed: | ||||||||
< < | You can also change the environment variable CVSROOT to avoid typing -d <repository location>: | |||||||
> > | You can also change the environment variable CVSROOT to avoid typing -d <repository path>: | |||||||
| ||||||||
Changed: | ||||||||
< < | setenv CVSROOT <repository location> | |||||||
> > | setenv CVSROOT <repository path> | |||||||
| ||||||||
Added: | ||||||||
> > | To remotely access the repository, specify a remote repository as opposed to a local one, which means using a longer repository path. You first name the access method, delimited on each side by colons, followed by the username and the server name (joined with an @ sign), another separator colon, and finally the path to the repository directory on the server. CVS supports the ext method (which uses an external connection program, such as rsh or ssh)which is probably the most commonly used. So on the client machine: $ setenv CVS_RSH ssh; export CVS_RSH $ cvs -d :ext:jrandom@cascade.cs.ubc.ca:<repository path> <command> The first line sets the CVS_RSH environment variable to ssh, which tells CVS to use the ssh program to connect. The second line can be any CVS command; you will be prompted for your password so CVS can log into the server. The rest of the examples assumes that you've set CVSROOT to point to your repository, so they will not show the -d option. If you need to access many different repositories, you should not set CVSROOT and should just use -d <repository path> when you need to specify the repository. | |||||||
Some useful links on CVS |