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

RE: Moved files problem.

From: Lübbe Onken | RA Consulting <l.onken_at_rac.de>
Date: Wed, 9 Jan 2008 12:48:02 +0100

Hi Hielke Hoeve,

> Does anyone know if it is possible to let SVN know that files have
> been moved to a different location with or without having to start
> over? Would prefer not starting all over.

If you have moved the files around using normal (left-drag) explorer, then SVN doesn't know where they are now and there's no way to tell it from your current working copy.

You should have handled all file moving via right-drag operations in the explorer. Then you can choose "svn move to here" and svn knows that you have moved the files.

I see however a possibility to "repair" this by redoing the operations on the svn side, if all your files are still in the same repository, but only in different subprojects.

You leave your current working copy as it is, without touching anything. It serves as a lookup template for you. You should be quicker now, since you know the layout.

You can either:
a) check out a new working copy and right-drag the files/folders to the proper place
b) move files/folders around directly in the repository browser

I recommend a), because then you can restructure things locally and commit when you are happy. I also recommend doing it in small steps. Do not try to restructure everything and commit all in one go. You *will* run into trouble.

In contrast to this b) causes an immediate commit when you moved an object, so you must be really sure what you are doing. You can always move things back of course.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-09 16:49:57 CET

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.