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

Re: Moving project folders within a solution

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 7 Feb 2008 16:26:41 -0500

On Feb 7, 2008 4:22 PM, rlrcstr <rlrcstr_at_msn.com> wrote:
>
>
> I think you just mark the old location for deletion and then re-add it in
> it's new location.

svn mv is implemented as "delete and add with history" but one should
not do this oneself in those steps. If you want to move an item, there
is a specific "move" command which must be used. Otherwise, history
will be broken.

> The history should stay in the repo under the old path, though. New update
> history will start in the new location after the move.

Usually when something is moved, it's desirable for the history to go with it.

> J
>
>
>
>
> From: Lars Zeb
> Sent: Thursday, February 07, 2008 4:06 PM
> To: users_at_tortoisesvn.tigris.org
> Subject: Moving project folders within a solution
>
>
>
>
>
> I am on my 4th repository for this same solution because I mess the repo up
> all the time. I'd rather not go for the 5th time.
>
> I have an existing solution called MySolution. Each project is called
> MySolution.SomeProject.
>
> I have defined a project within the solution called MySolution.DTO. Rather
> than echoing the folder pattern for all the other projects
> (MySolution.SomeProject), this project is contained within a folder called
> DTO. Within that folder are are 2 folders, .svn and MySolution.DTO. The
> latter has a green checkmark in Windows Explorer and this is the folder to
> which the project MySolution.DTO in the IDE points. I can edit the solution
> folder to point to this folder but I'm worried about the repository.
>
> If I move the folder to the position I want within the solution folder (to
> MySolution.DTO rather than DTO\MySolution.DTO), the Check for Modifications
> shows the folder missing.
>
> Any suggestions on how I might clean this up?
>
> Thanks Lars
>
> ________________________________
> Never miss a thing. Make Yahoo your homepage.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-07 22:26:59 CET

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