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

Re: Moving Folders within a checked out repository

From: Bruce Webber <brucewebber_at_fastmail.us>
Date: 2005-10-17 00:06:07 CEST

--On Sunday, October 16, 2005 7:19 PM +0200 Ryan Schmidt
<subversion-2005@ryandesign.com> wrote:

> Let's keep the discussion on the list so as to help others who may
> encounter the same problem...
>
> On Oct 16, 2005, at 17:59, Duncan wrote:
>
>> I apologise if my previous e-mail wasn't clear.
>>
>> Consider a folder that is a completely up-to-date, checked out copy
>> of the repository in question (I have a few for different projects
>> - and this behaviour was happening on a number of them).
>>
>> I want to tidy the directory up a bit, so create a folder called
>> "test" (as an example) in which I'd like to put some folders.
>>
>> I then drag a folder into this new folder test, then click on the
>> parent folder and select "commit" through tortoise svn.
>>
>> I get the error as attached as a bmp file.
>>
>
> (The dialog is titled "SVN Commit... Finished!" and reads:
>
> Error Are all the targets part of the same working copy?
> Error Working copy 'K:\Programming\Desktop\Projects\App - To-Do and
> Task
> Error Manager\Sort\Test\data' is missing or not locked
> Error Please execute the "Cleanup" command.
>
> )
>
> I don't use Windows or TortoiseSVN, but I can reproduce the problem on
> the command line. The problem is that you have not informed Subversion
> that you want to move the directory. Do not use your normal operating
> system facilities to move or rename items (which is what you did when
> you dragged the folder into the test folder); instead, use Subversion
> commands. I believe TortoiseSVN has a rename command that you can use
> for both moves and renames.

To move a file or folder using TortoiseSVN, you must right-click and drag
the item. When you let go of the right mouse button in the target location,
you'll get a pop-up menu which lets you select what you want to do (copy,
move, etc.). This is described in the TortoiseSVN help file, but isn't
obvious (for all other operations you right-click and select from the menu
- you don't right-click and drag.)

-- 
Bruce Webber
brucewebber@fastmail.us
http://brucewebber.us
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 17 00:07:45 2005

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

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