info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows filenames


From: Paul Gelderblom \(ptok\)
Subject: Re: windows filenames
Date: Sun, 7 Mar 2004 19:17:21 +0100

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: <address@hidden>
To: <address@hidden>
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
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]