[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need CVS Help
Mark D. Baushke
Re: Need CVS Help
Thu, 11 Aug 2005 09:58:30 -0700
-----BEGIN PGP SIGNED MESSAGE-----
> Hello Mark,
> Thanks for you reply and info about CVS. I gained and learned lot of
> knowledge about CVS.
> I need to know few more things about CVS Repositories.
Please send e-mail to address@hidden rather than all of the other
addresses or unicasting to individual cvs developers.
> Is it possible to create multiple repositories in one server ?
> If yes, then how.
You have the command below. However, you may need to be a privileged
user to create new directories. Also, we recommend you avoid NFS mount
points for repositories.
For example, a non-privileged might need to do something like this
sudo mkdir -p /usr/local/cvsroot
sudo chown $USER /usr/local/cvsroot
sudo chgrp cvs /usr/local/cvsroot
chmod ug=rwx,g+s /usr/local/cvsroot
cvs -d /usr/local/cvsroot init
The first four command would create the unix directory
/usr/local/cvsroot and make it owned by the current user and have a
group of 'cvs' (which may need to be some other group name depending on
The cvs init command will create and populate the CVSROOT directory.
If you are using :pserver: mode, you will now need to add the
appropriate --allow-root=/usr/local/cvsroot magic to your [x]init
> We have one repository in our server such as "/usr/local/cvsroot"
> and want to create another repository in same server, I'm trying to use
> command as below, we are using bash
> "cvs -d /usr/local/csvroot init", but 2nd repository is not getting
All the above command will do is make user that
/usr/local/cvsroot/CVSROOT has all of the needed default files.
It will try to create any intermediate directories, but the OS may not
let it create the files you want depending on how permissions are set.
> I also tried to use this command
> export CVSROOT
cvs -d /u/src/master init
will try to create the /u/src/master directory and then the
/u/src/master/CVSROOT directory and then populate the
> but does not show any new (or 2nd repository created), also how would I
> know that repository get created ?, what is the command to check the
> repository ?, I'm using Putty client to log into our server.
If you are using a CVSROOT of /u/src/master or /usr/local/cvsroot then
I do not see how Putty will let you find the server you want as it would
be attempting to use the local server.
If you are using Putty, then you are probably using
for your CVSROOT configuration.
> Also I need to know How can I move files and directories or projects from
> one repository to another repository on same server and on different
It is recommended you use 'cvs commit' for this purposes. However, if
necessary, just move the appropriate ,v files. Warning: This is a bad
idea most of the time.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
-----END PGP SIGNATURE-----
- Re: Need CVS Help,
Mark D. Baushke <=