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

Re: Renaming folders locally - Feature request/Bug report

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 5 Feb 2009 14:34:54 +0000

2009/2/5 Kurt Pruenner <leak_at_gmx.at>:
> jwezel wrote:
>> when renaming some folders in the local checkout directory structure,
>
> You are aware that there's a separate "Rename" command in the
> TortoiseSVN submenu which you need to use for such changes, i.e. if you
> also want to rename the folder in the repositiory?
>
> Explorer's regular "Rename" command just renames the folder, without
> notifying any handlers of this change - so TSVN has no chance to act
> upon that rename.
>
> Also, TortoiseSVN will mark the directory you renamed as "missing" and
> not check it by default - to really delete it from the repository you'll
> need to check it and commit that.
>
> The new directory is treated as a nested checkout (since it's the same
> as if you had checked out your subfolder from the repo into a new
> directory with the new name) and thus doesn't appear in the commit dialog.

In the commit dialog context menu there is an entry called "repair
move" which is used when the IDE renames your files for you. I don't
know if it also works on directories.

There is no way that TortoiseSVN is ever going to do that sort of
thing quietly behind your back - it would be pure guesswork, which is
not what revision control is about. Likewise if you rename folders
without telling subversion, you can expect to get trouble.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1107656
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-05 15:35:06 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.