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

RE: Case sensitive in file name

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-08-14 07:37:07 CEST

Quoth Adrian Hoe ??? <mailto:mailbox@adrianhoe.com>:
> I ran into a problem with case in file names.
>
>
> I have two files under version control:
>
>
> IMG_0999.JPG
> IMG_0999s.JPG
>
>
> On Linux/Mac OS X file system, I can have both IMG_0999S.JPG and
> IMG_0999s.JPG. But I can't do "svn ren" IMG_0999.JPG to
> IMG_0999S.JPG. It says "File IMG_0999S.JPG already exists".
>
>
> I would like to use "S" and "s" to differentiate the size of the
> image file.
>
>
> Is this a bug or a feature of Subversion?

Neither; it's a bug or feature of the operating system.

On Linux that ought to work fine, since Linux supports case-sensitive
filenames.

On Windows and OSX, however, filenames are case-insensitive, which means
that you cannot have two files with names that differ only in case.

You will need to come up with a different naming convention if you want
to support the non-Linux OSes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 14 07:38:00 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.