Getting started with CVS

export CVS_RSH=ssh

cvs login

# old # cvs import -m "Initial import." lisp vendor start

I find this one a bit confusing; the directory you're in at the time is the one that gets imported, not the directory under it that you name in the import command.

cvs co emacs-versor

May later need something like

cvs -z3 co emacs-versor

This seems to work OK:

cd /home/john/open-projects/emacs-versor cvs checkout lisp

then had trouble with

cvs add lisp/LICENSE.TXT

and with

cvs diff lisp/versor.el

as it said "ssh: connect to host port 22: Connection refused"

However, retrying the checkout command (above), exactly as before, did just this also

That seemed to be a server problem; trying again later, I then got

cvs [add aborted]: there is no version here; do 'cvs checkout' first

It appears you have to do the add from the directory containing the file.

cvs commit -m "New file, containing GPL" LICENSE.TXT

is what actually worked, without throwing me into vi

import seems to be the way to create directories, but I have also seen it add things that I didn't expect. Perhaps I ran it from the wrong place.