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

Re: Possible to check the same file in twice?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-31 18:51:54 CET

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> Graham Leggett wrote:
>> Is there a way to make subversion issue a warning when trying to
>> check in (or check out) files that are strcasecmp == 0?
>
> You can use a pre-commit hook script to reject commits that add such
> files,

However it's a very hard to get it right. In English "i" and "I"
are the same letter in different cases, in Turkish "i" and "I" are
different letters. What is the "correct" response when determining
whether "i" and "I" match?

> see
> http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/check-case-insensitive.pl
> for an example.

As far as I can see that script uses case conversion rules provided by
perl. Are perl's rules the same as those used by OS/X? Are perl's
rules the same as those used by Windows? Do OS/X and Windows use the
same rules as each other? Does OS/X, or Windows, use the same rules
on all filesystems?

I've never used the script but I assume it works for the common cases,
but I'd be surprised if it works in all cases.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 31 18:53:35 2005

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

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