> I'm new at CVS. I started by set the CVSROOT environment variable.
What did you set it to?
Quote:> I create a directory called "cvsroot" in my home directory
I wouldn't call it cvsroot as this may confuse cvs (& anyone else) - was
this what you set CVSROOT to (HOME/cvsroot)?
> Cannot check out files into the repository itself.......
> Can any one tell me what did I do wrong..
Yes you set CVSROOT to something like /root (or your $HOME dir) or you
are trying to do a checkout whilst in a directory under the value of
CVSROOT (ie if CVSROOT is /home/user - you are in dir /home/user/work
you would get this error) Remember CVS is not like RCS in that the CVS
controlled files are not under the working directory (and may not even
be on the same machine!). This gives CVS far greater flexibility
especially in a multi-developer environment. Note that CVS shares a file
format with RCS but does not require RCS to be installed.
What you should have done is create a directory somewhere else on your
...say /usr/local/CVS_Repository (set CVSROOT to this dir). Then do the
cvs init as before. If you don't have root access on your machine then
you will need the help of your sysadmin to do this.
If more than one user is going to use it then you will need to set up a
group (say cvsuser) and make sure the required users are in this group.
You may have to play with file permissions to get all users write access
If you haven't done this already - get hold of the tkinfo & tkcvs
packages. Use tkinfo for cvs documentation (ie tkinfo cvs - sorry but I
can't cope with the 'normal' info program ;-() and tkcvs to browse your
repository. tkcvs gives you the (IMHO) brilliant tkdiff program which
you can use directly to compare two files, as well as use it to browse
files in the cvs repository from within tkcvs.
Phil Quiney CSIP Demonstrator
Telephone: +44 (0)1279 402363 London Rd, Harlow,
Fax: +44 (0)1279 402885 Essex CM17 9NA,
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."