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

Re: Hook for enforcing lower case in file names

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-10-13 17:44:43 CEST

Nathan Kidd wrote:
> Jan Normann Nielsen wrote:
>
>> Therefore I want a hook script for my Subversion repository that won't
>> let me commit files that are not all lower-case. Has anyone got a clue
>> on how to do that?
>
>
> Perhaps
> http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/check-case-insensitive.pl
>
> is more suited to your needs, rather than just forcing lower case?

I think not. The problem he is trying to avoid is the exact opposite of the normal Windows case
insensitive file system problem. The classic problem with web sites created in windows is ending up
with the case of the link url not being the same as the file it references. On Windows the site
will work, upload it to Linux and it breaks. By standardising on all lower case for file names and
URL's this problem can be solved.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 17:45:42 2004

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.