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

Re: filename case insensitivity in subversion?

From: Ed <SVN_at_0x1b.com>
Date: Wed, 24 Sep 2008 12:02:00 -0700

On Tue, Sep 23, 2008 at 8:46 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:
> On Sep 23, 2008, at 2:25 PM, ANDREW.LUCAS_at_L-3Com.com wrote:
>> At risk of beating a dead horse, I have to ask if there is a way to make
>> svnserve case insensitive?
> There isn't.
>> We have users of studio 2008 that are having issues as studio 2008 seems
>> to lose filename case persistence.
>> MS admitted the issue for studio 2005 and even patched one instance, but I
>> can't find anything for 2008 yet.
>> http://support.microsoft.com/kb/935935/en-us
> Sounds like an issue you need to take up with Microsoft.
>> I also don't see a way to modify the python scripts when using svnserve.
>> I think we are using pre-compiled binaries. If we compiled everything
>> ourselves (svnserve, not the apache interface), could we use things like the
>> following?
>> http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/case-insensitive.py
> I think you misunderstand...
> You simply write a pre-commit hook and place it in your repository's hooks
> directory. From your pre-commit hook script, you can call
> case-insensitive.py to prevent commits of files whose names would differ
> from existing files only by case. You can read more about hooks in the book:
> http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn.reposadmin.create.hooks
>> Also, does anyone have experience using that script? It looks like it
>> just throws an error when case sensitivity issues occur? It doesn't
>> actually do anything like change all names to lower case, etc? What is its
>> actual behavior?
> You're correct. It prevents incorrect commits.
> pre-commit hook scripts cannot change incoming transactions; they can only
> prevent those that do not pass whatever criteria you want to set.
>> Has any (recent) thought been make to make subversion archives case
>> insensitive (maybe even on an repository by repository basis)? We do mixed
>> development here and some systems actually are case sensitive. It might be
>> nice to be able to create Microsoft only repositories with
>> case-insensitivity or a force to all lower/upper case.
> Not that I'm aware of.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

A utility like 'detox' can fix case problems if called before a
commit. You either want to wrap SVN or I think TortoiseSVN allows for
running a script before a commit. not certain, I haven't used M$
products this century.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-24 21:02:25 CEST

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.