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

[PATCH] Case change FAQ (was Re: Change case on a filename in wc under Windows?)

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2003-12-21 21:00:09 CET

[[[
Added FAQ on changing file case.
]]]

Cheers,
Mike.

Index: www/project_faq.html
===================================================================
--- www/project_faq.html (revision 8066)
+++ www/project_faq.html (working copy)
@@ -63,6 +63,8 @@
     and why?</a></li>
 <li><a href="#adm-dir">I don't like the ".svn" directory name, and
     prefer "SVN" or something else. How do I change it?</a></li>
+<li><a href="#case-change">I checked in a file but had the wrong case in the filename.
+ How do I change it?</a></li>
 <p>
 <strong>Troubleshooting:</strong>
 </p>
@@ -978,6 +980,25 @@
 
 <![CDATA[=========================================================]]>
 
+<h3><a name="case-change">I checked in a file but had the wrong case in the filename.
+ How do I change it?</h3>
+
+<p>If you're adding files on an operating system with a case-insensitive
+filesystem (such as Windows), you might find you accidentally add a file
+with the wrong case. You can correct this by copying the file somewhere
+temporary, deleting the file from Subversion, then adding the copy with
+the correct case, or by performing a move operation with Subversion URLs.
+Using URLs is recommended, because it will preserve history for the file,
+and will take effect immediately.</p>
+
+<p>For example, to rename <tt>file.java</tt> to <tt>File.java</tt>, do:
+<pre>
+svn mv svn://svnserver/path/to/file.java svn://svnserver/path/to/File.java
+</pre>
+</p>
+
+<![CDATA[=========================================================]]>
+
 <p>
 <hr>
 <p>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 21 21:00:39 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.