[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: Bob Peterson <bob_at_memento-inc.com>
Date: 2003-12-17 21:45:10 CET

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
Received on Wed Dec 17 21:46:13 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.