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

issue after renaming a folder

From: Serbis Ilya <iserbis_at_shtrih-m.ru>
Date: Fri, 18 Nov 2011 18:07:27 +0400

I have an issue with local copy of repository after renaming a folder.

Initial state:

local copy of remote repository (checked out into folder on my PC), say
into C:\repository\ . There is no local changes in this local copy.

Operations:

# rename folder (containing files and subfolders) using TortoiseSVN (for
example, C:\repository\oldnamefolder to C:\repository\renamedfolder)

# try to commit

I'm getting an error message:

Commit failed (details follow):

'C:\repository\renamedfolder\Resources'

is not under version control and is not part of the commit, yet its child

'C:\repository\renamedfolder\Resources\picture.png'

is part of the commit

Because all files inside C:\repository\oldnamefolder was under version
control and I did not add any files or folders, I'm expecting to have no
troubles with commit

The problem isn't only with commit but also with revert.

After previous operations I open "SVN Check for modifications" dialog
for renamedfolder\ .

What I see is every file and folder under oldnamefolder\ have "deleted"
status.

Also I see that renamedfolder\ have status "added (+)", all it's
subfolders and files have "normal(+)" status.

All checkboxes in "Items to show" group of the dialog are checked except
"Unmodified" and "Ignored".

I select all items in the list, right click on one of them with
"deleted" status and choose "Revert" (expecting deleted items will be
reverted and added items will become unversioned)

What I really get (after confirm dialog, warning me that all items
including that has status "normal+" will be reverted ) is

"Can't revert: C:\oldnamefolder\picture.png' without reverting parent"

The only thing helps me to completely revert changes is execution of
"Revert" on oldnamefolder\ item only, than Undo add on renamedfolder\ item

TortoiseSVN version 1.7.1, build 22161 64 bit

Ilya

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2880626

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-18 15:08:39 CET

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