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

RE: Change case on a filename in wc under Windows?

From: Wadsworth, Eric (Contractor) <wadswore_at_fhu.disa.mil>
Date: 2003-12-18 17:53:18 CET

> The "correct" solution is for the user to check in the file
> with the proper case
> in the first place, and not try and work around it in svn
> (which works just fine
> on case-sensitive O/S's). This is a carbon-based error,
> nothing more...

Seems like there should be some way to minimize damage from this common
problem.

Option A:

Put the workaround in the FAQ. Direct people to it when they run into the
problem. Hope it eventaully goes away as operating systems evolve.

Option B:

Consider this situation in the design of future versions of Subversion, so
it can be handled in a reasonable manner without requiring a workaround.

> I suppose it should be possible extend 'svn mv' to check to
> see if the new and
> old filename differ only in case, then delete the local copy
> prior to checking
> out a new clean copy from the repository. This should work
> whether or not the
> local filesystem respects case, and should also not be a big
> performance drag on
> everyone else. Obviously, the user will have to commit any
> local changes prior
> to doing this.

Looks good to me. I'd accept the performance drag if it will make this
problem go away. Also, I suppose could then do an "svn mv" to fix case on a
filename.

--- Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 18 17:55:16 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.