NerdyHearn
Home
Blog

Contact
Mailing List

Software

Active Directory Products
Object Compare
Permission Compare

IPhone Products
Calls To Calendar
SMS To CSV
SMS To Gmail
Voicemail To Gmail

Sites
DocuTerminal
How Long For Me
My Music To Me
SaveMySerials
TypeCount

Blog
Twitter

NerdyHearn - Blog


<< Back To All Blogs

Renaming case-sensitive files and folders in Windows SVN (With TortoiseSVN)

Friday, August 15th, 2008

I thought it might help someone out there to find this post, because I've run into this problem myself a couple of times now, and had to do it once again today.

Say you want to rename a folder in SVN from Tomfolder to TomFolder (same name, just different casing). This cannot be done using the TortoiseSVN right-click rename functionality, because Windows thinks that it is the same name.

The easiest way to do this: right-click on the folder, and select Repo-browser. Locate the folder you want to rename, right-click, and select rename to change the casing as you need to. Click off of the file when you are ready and it will ask you to enter a commit message, do so and click OK. After this you need to go to the directory one-above the one you just renamed, then right-click, and select SVN Update.

A few notes:
1. I believe this can also be done from the command line in Windows, using the rename command (but I'm not sure)
2. Make sure you have backed up all non-versioned files that you need to save within this directory structure, as once you update you will lose anything that is not checked in

SVN Tom Out.

Comments

Currently no comments.

Add A Comment

Name:


URL:


Email Address: (not public, used to send notifications on further comments)


Comments:



Enter the text above, except for the 1st and last character:


NerdyHearn - Latest tech news relating to C#, ASP.NET, SharePoint, PHP, general development, and more. DocuTerminal - Online Filing Cabinet solution. Scan, search and archive your paper documents. SaveMySerials - Protect yourself from theft, fire, natural disasters and more by recording your serial numbers My Music To Me - Stream your subsonic music collection to your Sonos wireless system TypeCount - Count how often you type across different computers! ServrTrackr - Monitor your SSL certificates, website uptime, and DNS configurations