nils Olofsson wrote:
> ok,
> Back to my orignal question.
> Are the steps that i am following correct of am i doing something wrong.
> for a refresh here is the steps i am taking.
> bash$ su - root
> bash# export CVSROOT=/home/cvsroot
> bash# groupadd --help
> bash# groupadd cvs
> bash# useradd --help
> bash# useradd -g cvs -d $CVSROOT cvs
> bash# mkdir $CVSROOT
>> bash# ls -ld $CVSROOT ... (you should see the listing)
> bash# chgrp -R cvs $CVSROOT
> bash# chmod o-rwx $CVSROOT
> bash# chmod ug+rwx $CVSROOT
>> #To initialize the CVS repository and to put in source code files do:
> bash# cvs init
>> # Add the unix users to the cvs group. Create supplementary groups for
> users.
> # Note that you MUST not put any blank spaces after comma seperating the
> # group names in -G option.
> # In example below user tom belongs to groups cvs, users and staff and
> user
> # johnson belongs to group cvs only.
> bash# usermod --help
> bash# usermod -G cvs some_unix_username
> bash# usermod -G cvs,users,staff tom
> bash# usermod -G cvs,users,staroffice billclinton
> bash# usermod -G cvs johnson
> bash# exit .... (logout of root superuser mode)
>> # Login as a user and import files into cvs....
> bash$ su - billclinton
> bash$ export EDITOR=/bin/vi
> bash$ export CVSROOT=/home/cvsroot
>> # WARNING! WARNING: If you set CVSREAD to yes, checkout and update
> will try hard to # make the files in your working directory
> read-only. When this is not set,
> # the default behavior is to permit modification of your working files.
> bash$ export CVSREAD=yes
>> # Change directory is a must
> bash$ cd $HOME/somedir/anotherdir/directory/my_source_code_dir
>> # Must give vendor tag and revision tag
> cvs import somedir/anotherdir/directory/my_source_code_dir Vendor1_0
> Rev1_0 # Also note that it is very important to give the directory
> tree starting
> # from the $HOME, that is, in above example starting from somedir.
> # For example I did:
> bash$ cd $HOME/howto/foobar
> bash$ cvs import howto/foobar Vendor1_0 Rev1_0
>> # Another example is:
> bash$ cd $HOME/javafilesdir
> bash$ cvs import javafilesdir Vendor1_0 Rev1_0
>> # A sample testing and verification:
> bash$ cd $HOME/howto/foobar
> bash$ cvs checkout myfoo.java
Try
mkdir $HOME/work
cd $HOME/work
cvs co .
>> Can anyone please tell me where i am going wrong.
>> Nils
>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!