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

Filename case sensitivity under Win32

From: danpat <danpat_at_adaptiveinternational.com>
Date: 2003-05-26 04:50:54 CEST

Greetings,

  We've come across a situation where someone has managed to create
  filenames in the repository that conflict under a filesystem that
  is *without* case sensitivity. I'm still tracking down the users
  set of actions, but I thought I'd send a quick note here anyway.

  The repository looks like this:

    /trunk/docs/Document1.doc
    /trunk/docs/Document1.Doc

  A checkout to a case sensitive filesystem works just fine, as the
  filenames are different. However, under Win32 (both FAT and NTFS),
  a checkout fails with:

  A trunk/docs/Document1.doc
  svn: Can't find an entry
  svn: could not checkout a file
  svn: timestamps_equal_p: `Document1.doc' not under revision control

  This can be corrected by renaming one of the files to a non-conflicting
  name in the repository.

  I'm guessing this is an error that probably *can* be detected more
gracefully
  than this, and it only needs to get as OS specific as "Does this
filesystem
  support case sensitivity" ?

  I'm not sure what the correct thing to do would be, bombing out due to a
filename
  conflict would be fine, but a more useful error message might be helpful
:)

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 26 04:51:47 2003

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.