-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [EMAIL PROTECTED] writes:
> 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 [email protected] rather than all of the other addresses or unicasting to individual cvs developers. > Is it possible to create multiple repositories in one server ? Yes. > 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 your configuration). 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 configuration file. > 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 > created. 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 > > CVSROOT=/u/src/master > 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 /u/src/master/CVSROOT directory. > > 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 CVSROOT=:ext:some-host.full.domain:/u/src/master or CVSROOT=:ext:some-host.full.domain:/usr/local/cvsroot 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 > servers. 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. -- Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFC+4O2Cg7APGsDnFERAo7TAKCAwbGfx828zOgrgvMXD0F2xGC+7gCdHOSJ jrrux76cbeeWlAb9Hw2d3dg= =j4Dj -----END PGP SIGNATURE----- _______________________________________________ Info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
