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

Re: linux server + win32 client, case sensitivity and symlinks

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-11 23:34:09 CEST

On Apr 11, 2006, at 22:57, Jesse Guardiani wrote:

> It appears that subversion just doesn't attempt to care about the
> client filesystem's case sensitivity. So according to that, if
> I need to develop on win32 for a linux server, then I need to go
> with the least common denominator and avoid the use of case sensitive
> filenames and symlinks altogether.
>
> Is that an accurate assessment? Or am I missing something?

That's accurate. It's advisable therefore to install a pre-commit
hook preventing commits of files whose names would cause such case
collisions. A hook script which implements this behavior is provided
in the Subversion repository. See also this:

http://subversion.tigris.org/faq.html#case-change

The exercise of straightening out the mess of a large repository
filled with such case collisions is, unfortunately, left to the reader.

This is a problem on any filesystem that's case-insensitive, not just
Windows, so this also applies to the default Mac OS X filesystem.
Case-sensitive filesystems are available for Mac and Windows which
can be a workaround for some. You may not even need to reformat your
drive or add an extra drive. On Mac OS X, for instance, you can
create a disk image with a case-sensitive file system and check your
working copy out on that. Perhaps similar virtual-disk solutions
exist for Windows; I just don't know.

There are a whole lot of other restrictions on filenames that are
relevant for Windows machines too; see for example this message:

http://svn.haxx.se/users/archive-2006-01/0201.shtml

The very best idea would be to install a hook which prevents those as
well.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 11 23:38:03 2006

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.