[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: John Peacock <jpeacock_at_rowman.com>
Date: 2003-12-18 17:17:15 CET

Branko Čibej wrote:

> But this is not something that will happen for 1.0, because it requires
> a fairly major change in WC management. And after all, we do have a
> workaround.

And I don't understand why the current workaround is not the best way to solve
this problem. As I understand the current codebase, the svn client code doesn't
even check the filenames when updating a WC. It just relies on the filesystem
to throw an error if there is a filename conflict. Checking each and every file
would be onerous, to say the least, even if the damage were limited to #ifdef's
for the known problem platforms.

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.

NOTE: this does not help the situation where two files differing only in case
exist in the repository itself. That will still block all useful activity on
those platforms.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
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:23:28 2003

This is an archived mail posted to the Subversion Users mailing list.