Write a commitinfo script. This is a serverside script that is run during the commit process before the actual commit is done. It allows you to deny the commit based on your rules. In the script , you can access the repository and check if rcs files with similar names (i.e. only differing in case) exist in the repository directory.
See the Cederquist chapter c.3.2 http://www.cvshome.org/docs/manual/cvs-1.11.13/cvs_18.html#SEC167 Paul Gelderblom ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 15:42 Subject: windows filenames > Hi all ! > > Since I'm tired to google, I've decided to post my question here, > hoping to get an answer. > > At the company I work we keep our CVS repositories on a Linux machine. > The problems is, when some one puts a file like "MyFile.txt" in a directory > and commits it, and then some one else puts a file like "Myfile.txt" and also > commits it, on linux machine both files are accepted. This is ok, of course, > since under Linux filenames are case sensitive. > > But when a windows client checks out an entire module, he can get only 1 file > from 2. > > My question is: How can I set up CVS server to deny adding of a file to a > folder in repository when there is a file with "the same name from windows > point of view" ? > > OnAdd: If (lowercase(addedfilename) in lowercase(repository_filenames[])) > then Fail; > > My configuration(s): > > ---- Server --- > Concurrent Versions System (CVS) 1.11.5 (client/server) > Using pserver through xinetd. > Linux RH 7.3 > > ---- Client ---- > Workstations: Windows 2000. > WinCVS 1.2 & 1.3 > Concurrent Versions System (CVSNT) 1.11.1.3 (Build 57k) > > Thanks ! > > > _______________________________________________ > Info-cvs mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/info-cvs > _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
