[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: locking CVS to read only to move to SVN

From: Martin Fuchs <fuchs.martin_at_gmail.com>
Date: 2005-09-13 21:34:46 CEST

2005/9/13, Samuel DeVore <sdevore@gmail.com>:
> We are in the process of moving a large number of internal projects from CVS
> to SVN and was wondering if anyone knew if it were possible to lock the old
> CVS to be read only. To make sure that the changes are done in the right
> place by all the developers.

Just create an empty file "writers" in the CVSROOT directory of the
CVS repository:

Checkout the CVSROOT with "cvs -d :pserver:<user>@<server>:/<path> co CVSROOT" .
Change to cvsroot directory "cd CVSROOT".
Create the empty file with ":>writers" (or echo.>writers" on Windows).
Commit the changes with "cvs commit".

The "writers" file contains the list of users with write access. So
the empty list disallows write access for any user.

Regards,

  Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 13 21:59:54 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.