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

RE: rename confusion (changing case of a folder name in repository)

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 2 Mar 2011 09:40:21 -0500

> I am quite new to using subversion and am trying to change the case
> of a folder name in the repository.
>
> The repository structure is something like this:
> /trunk/SoftwaRe1/Project1/
>               ../Project2/
> /trunk/Software2/Project3/
>
> I wish to rename the "SoftwaRe1" folder to "Software1". That is, I
> just want to change the case of the letter "R". I can do this
> easily using TortoiseSVN (on WindowsXP) by using the repository
> browser.
>
> Each of the projects "Project1", "Project2" is checked out and
> worked on separately only by me. No-one else is working on any of
> the Software1 projects.
> After renaming the folder, when I try to make commits (for example
> for Project1), I get an error about the path to the repository not
> being found (which is clearly true).
>
> Is there any way that I can redirect the commits to the new renamed
> path?
> Or, is there a better way to go about changing the case of a
> repository folder name?
> Or, should I rename the folder back and just put up with the name
> as it is even if it annoys me every time I see it! (note: I didn't
> create the folder).
>
> Any help or suggestions would be most appreciated.

I think you can do a "switch". I don't think relocate will work here because that is when there is a change to the server/repo name. I'm not sure if that applies to folder name changes on the same server. But, your best bet is probably to just check out a new working copy.

So in order of disrution try:

1. switch
2. relocate
3. new checkout (you can copy any changed files from your current wc to the new one)

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2708994

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-02 15:40:31 CET

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