-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harald Dunkel <[EMAIL PROTECTED]> writes:
> We've got a huge CVS repository in India, and a local read- > only mirror at my site in Germany, updated at least once per > day. As you might imagine, getting a writable checkout takes > a lot of time. > > To speed things up I would like to do a local checkout > first, and then use cvschroot (see 'cvsutils' on Google) > on my sandbox to point to the writable Indian repository. The CVS project has something similar called newroot. http://cvs.savannah.nongnu.org/viewcvs/ccvs/contrib/newcvsroot.sh?root=cvs > > Question: Is it allowed to use cvschroot in this way? Or is > this too much of a hack, maybe corrupting my CVS repository > at checkin? Anything I should take into account to make this > work? Well, I would try to avoid excessive use of this technique as an interruption during the altering of the CVS/Root process might leave your tree in an odd state. > > > As you might have guessed, I am not sure how the cvsutils are > really related to cvs. Any insight would be highly appreciated. > > > http://www.die.net/doc/linux/man/man1/cvschroot.1.html For what it is worth, the CVS executables will trust any command-line specification of the cvsroot (the 'cvs -d cvsroot' option) first, and it will trust the CVS/Root contents more than the $CVSROOT variable. Any tool that assumes otherwise is likely to violate the principle of least astonishment. Please note that there are two separate methods available to have a read-only CVS repository that may be used for checkout and without any changes to the user's workspace. 1) Allow a commit via a writeproxy configuration (needs cvs 1.12.x where x > 9). Note: Not many folks are using this feature right now. 2) Use a commercial product add-on to CVS from WANdisco.com You may find doing a goole for 'cvs multisite' and 'cvs writeproxy' may be useful to you. Enjoy! -- Mark > > > > Many thanx > > Harri -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE6zb5Cg7APGsDnFERAvi4AJ9DtDWYZhdiuO9WkBGMFss3kjJ0jwCfU51+ mpRw3ISGAI5rm5frL076OjE= =xlWF -----END PGP SIGNATURE----- _______________________________________________ Bug-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/bug-cvs
