cvs

by dan 10/05/06 12:00:00 Article programming.


adding files/folders

Folder must be added first! Files then can be added. Then Commited

importing

Adding to existing module

in import setting's path, select existing pathnew path
Make sure the files are in someplace other than working directory! ie: OldProject/additionalStuff Don't use . Use / or it will create new module thinking is a char
ex: select folder ""bin"" and ""Import Module...""
Repository Path: ""source/DatamigrationPPS/bin"" since CVSROOT repository is set to /caretree. This will set the path to /caretree/source/datamigrationpps/bin/.

update

Update local files to latest version from cvs db.

Merges any changes and if it finds conflict, it will show error. One must edit it manually.

>>> local stuff

<<< remote stuff

commit

cvs commit

connect from remote client using pserver protocol

pserver is a security risk.

set CVSROOT=:<protocol>:<user>@<computername>:/<repositoryName>

set CVSROOT=:pserver:dan@it003:/myapp/repo1

add user

  1. go to server machine
  2. set CVSROOT=<path to cvs>
  3. cvs passwd -r <real user name> -a <alias name>
  4. enter nothing for password
  5. cvs login (to test)

see ""passwd"" file in cvsroot.

set CVSROOT=C:\mycvs
cvs passwd -r ituser -a dan
    #enter nothing for pwd
cvs login (to test)
Also, one might set SetAuth=No in cvsroot/config file.
this uses password only authentication instead of domain+pwd authentication

CVSRoot setting

is also stored in CVS folder in each directory. Edit ""ROOT"" file to change setting. If not, doing cvs commit will use this and not the CVSROOT setting.



Digg! del.icio.us reddit furl