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

Case-insensitivity causes data loss under win32

From: Tristan Seligmann <tristan_at_quotemaster.co.za>
Date: 2003-10-07 11:21:44 CEST

Subversion (correctly) does not consider 'FILENAME' to be equivalent to
'filename', even under win32 where they are equivalent on the
filesystem. The problem is: if you rename (local rename, not svn rename)
a working copy of a file 'filename' to 'FILENAME', and then do svn
update, 'FILENAME' will be "silently" overwritten with the clean copy of
'filename'. For example:

---
 >svn status xcom.prg
 >echo blah > xcom.prg
 >svn status xcom.prg
M      xcom.prg
 >move xcom.prg XCOM.PRG
 >svn update
Restored xcom.prg
At revision 1933.
 >svn status xcom.prg
---
Would it be possible for some kind of warning to be displayed under 
these circumstances, to avoid the data loss? (The reason the filenames 
are changing case is that they're being edited with DOS apps...)
Also, can anyone suggest a workaround other than renaming every file in 
the repository to uppercase?
Tristan Seligmann
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 7 11:22:17 2003

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.