Playing with a CVS client

Create a new repository folder

cd project/
cvs import -m "" project organization initial

get a local copy of the repo (in case the folder already existed, create the CVS tracking within it)

cd ../
cvs checkout -P project/

now the tracking subfolder appeared

ls -lF project/CVS/

Checkout

NetBSD

export CVSROOT="anoncvs@anoncvs.MIRROR.netbsd.org:/cvsroot"
cvs -z9 checkout -P src
#-r netbsd-9
cd src/

Nethence rrr

ssh-keygen -t ...
cat ~/.ssh/id_*.pub #paste it to CVS server
vi .ssh/config

Host xc.nethence.com
        Port XXX

export CVSROOT="USER@xc.nethence.com/cvsroot"
export CVS_RSH="ssh"
cvs checkout -P rrr
cd rrr/

Operations

status & update

cvs update -dP

loads of details

cvs status

revisions

cvs log

just the headers

cvs log -h

commit/push

cvs commit

Solving conflicts

similarly to SVN

remove the conflict state and commit again

svn resolved

Subversion conflict with a deleted file https://stackoverflow.com/questions/3116313/subversion-conflict-with-a-deleted-file

Resources

F.1 Partial list of error messages https://www.gnu.org/software/trans-coord/manual/cvs/html_node/Error-messages.html

Re: ‘root’ is not allowed to commit files https://lists.nongnu.org/archive/html/info-cvs/2017-06/msg00001.html

Resolving Conflicts https://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-conflicts.html

4.9. Resolve Conflicts (Merging Changes of Others) https://quaid.fedorapeople.org/TOS/Practical_Open_Source_Software_Exploration/html/sn-Getting_the_Code-Resolve_Conflicts_Merging_Changes_of_Others.html


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun