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

Re: Tortoisesvn and VS folder moving problem

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 13 Aug 2009 06:45:30 -0400

On Thu, Aug 13, 2009 at 06:16, Lord KiRon<lordkiron_at_gmail.com> wrote:
> There is a problem when you move folder containing at least one SVN controlled file from one location to another.
> The problem is that when you do it from Visual Studio 2008 (or any other program) it also copies .svn sub-folder.
> This very annoying when you do .Net development where some classes often categorized by folders so when you do some refactoring ...
> As result entire repository become a mess - you can't commit , add , you get a lots of different errors.
> The workaround is simply manually delete all .svn folders (recursively) in the moved folder before you attempt to do anything svn related.
> Ideally I would expect Tsvn to monitor and recognize such conditions , or at least "Clean" to repair it.

TSVN can't monitor & protect against seemingly random file movement.
It's not as simple as you seem to think it is.

Install AnkhSVN, it's a Visual Studio plugin for Subversion, will let
you do all your SVN operations within VS, and should help you avoid
this. At the very least, you'll be able to SVN Move the files instead
of a "naked" drag & drop (I haven't done any refactoring in VS yet, so
I can't say how much it does for you; I know Subclipse does handle
this automatically).


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-13 12:45:50 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.