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

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


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml