Today, for the first time in several months, I needed to use CVS on the command line on my Mac (MacOS X 10.4), and discovered that the commands no longer work. In response to:
cvs diff -u
I got:
cvs diff: CVSROOT requires a path spec:
cvs diff: :(gserver|kserver|pserver):[[user][:password]@]host[:[port]]/path
cvs diff: [:(ext|server):][[user]@]host[:]/path
cvs diff: in directory .:
cvs diff: ignoring CVS/Root because it does not contain a valid root.
cvs diff: No CVSROOT specified! Please use the `-d' option
cvs [diff aborted]: or set the CVSROOT environment variable.
However, I am happily using SmartCVS 7.0.8 on the same machine. The directory I was in contains a CVS folder, with a Root file that looks exactly as I'd expect it to.
Can anyone suggest how command line CVS could have stopped working, when SmartCVS is still functioning perfectly?