[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 15:21:57 CET

I'm probably not the only person who has had to deal with this, and I
probably won't be the last. Are there plans for a better solution to this
problem in future versions of svn? "Better" being defined as "Easier for the
end user" in this case. It's unlikely that the correct solution is viable
(fixing the non-case-sensitive OS and filesystem).

--- Eric

> Because SVN is not aware of case-insensitive file name
> systems, this command
> is not enough. The work can be done entirely inside Tortoise
> SVN, though the
> number of steps makes this hard enough.
>
> 1) TSVN Rename file.java to _file.java.
> 2) TSVN Commit the parent folder. That logs an ADD _file.java
> and DELETE
> file.java.
> 3) TSVN Update all other working copies.
> 4) TSVN Rename _file.java to File.java
> 5) TSVN Commit the parent folder.
> 6) TSVN Update all other working copies.
>
> This issue probably also affects users on Mac OS X under
> Extended HFS. The
> two part commit/update is necessary because SVN performs the
> ADD before the
> DELETE. Had it done it the other way around, then only steps
> 1 and 2 would
> be needed. The ADD will fail when adding File.java since it
> (file.java)
> already exists. But a better fix would be for SVN to
> understand that file
> systems (repository and/or working copy) may be
> case-insensitive (or the
> variant: case-preserved).
>
> \bob peterson
>
> From: "Sander Striker" <striker@apache.org>
> > svn move http://example.com/svn/file.java
> > http://example.com/svn/File.java
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 18 15:23:34 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.