Cannot non-recursively commit a directory deletion of a directory with child nodes

3,352 views
Skip to first unread message

Adrián Chapela

unread,
Aug 12, 2009, 11:21:00 AM8/12/09
to us...@tortoisesvn.tigris.org
Hello,

I am getting this error and I have no idea the reason. I have marked
four folders for its deletion and these folders have files and
sub-folders, but what is the reason to the error ? and more important
How could I solve my commit problem ?

I have searched information and the solution seems to be do a commit
folder by folder and then the other commit files (added files, modified
files...). Is this real ? I have installed the last release of
TortoiseSVN but the problem hasn't gone away.

Thank you!

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Simon Large

unread,
Aug 12, 2009, 11:40:00 AM8/12/09
to us...@tortoisesvn.tigris.org
2009/8/12 Adrián Chapela <achapela....@gmail.com>:

> I am getting this error and I have no idea the reason. I have marked
> four folders for its deletion and these folders have files and
> sub-folders, but what is the reason to the error ? and more important
> How could I solve my commit problem ?
>
> I have searched information and the solution seems to be do a commit
> folder by folder and then the other commit files (added files, modified
> files...). Is this real ? I have installed the last release of
> TortoiseSVN but the problem hasn't gone away.

The clue is in the error message. You can only delete a directory
recursively. If you uncheck one of the child nodes, and possibly if
you local modifications to the child nodes, you cannot commit,
otherwise you would get orphaned items.

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=2382929

Adrián Chapela

unread,
Aug 13, 2009, 4:31:13 AM8/13/09
to us...@tortoisesvn.tigris.org
Simon Large escribió:

> 2009/8/12 Adrián Chapela <achapela....@gmail.com>:
>
>> I am getting this error and I have no idea the reason. I have marked
>> four folders for its deletion and these folders have files and
>> sub-folders, but what is the reason to the error ? and more important
>> How could I solve my commit problem ?
>>
>> I have searched information and the solution seems to be do a commit
>> folder by folder and then the other commit files (added files, modified
>> files...). Is this real ? I have installed the last release of
>> TortoiseSVN but the problem hasn't gone away.
>>
>
> The clue is in the error message. You can only delete a directory
> recursively. If you uncheck one of the child nodes, and possibly if
> you local modifications to the child nodes, you cannot commit,
> otherwise you would get orphaned items.
>
All of files aren't modified and they are checked for the commit, could
be a problem with some child ignore file ? All files and sub-folders
have been dissapeared from the working copy, only remain the parent
folder with a red cross. But I can't do a commit.

Have you another idea ?
> Simon
>
>

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

Adrián Chapela

unread,
Aug 13, 2009, 7:29:32 AM8/13/09
to us...@tortoisesvn.tigris.org
Simon Large escribió:

> 2009/8/12 Adrián Chapela <achapela....@gmail.com>:
>
>> I am getting this error and I have no idea the reason. I have marked
>> four folders for its deletion and these folders have files and
>> sub-folders, but what is the reason to the error ? and more important
>> How could I solve my commit problem ?
>>
>> I have searched information and the solution seems to be do a commit
>> folder by folder and then the other commit files (added files, modified
>> files...). Is this real ? I have installed the last release of
>> TortoiseSVN but the problem hasn't gone away.
>>
>
> The clue is in the error message. You can only delete a directory
> recursively. If you uncheck one of the child nodes, and possibly if
> you local modifications to the child nodes, you cannot commit,
> otherwise you would get orphaned items.
>

I have discovered the problem. The problem was that TorToise have
detected that the root folder of the project was modified. I have to
commit the root_folder independently of the other changes, deletions, etc.

Other problem was the uploading the changes then. I have marked for
deletion this folder: /root_folder/images and then I have uploaded the
next folder: /root_folder/new/images. The folders are totally
different. The deletions have made very well but the commit have ignore
/root_folder/new/images folder, Why could be the reason for that ? The
folder didn't appear in the TortoiseSVN commit dialog and I need delete
the folder and copy again to my working copy to do a new commit.

I don't know the reason of this failures. I am using the last version of
TortoiseSVN.
> Simon
>
>

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

kenn...@hotmail.com

unread,
Aug 10, 2010, 10:36:21 PM8/10/10
to us...@tortoisesvn.tigris.org
I'm getting same wired problem recently, simply delete a folder and cannot commit. got error:

Cannot non-recursively commit a directory deletion of a directory with child nodes
To commit recursively and work around this error,
make sure that all child items of a checked folder
are also checked in the commit dialog.
Otherwise, TortoiseSVN must do a non-recursive commit
which does not allow directory deletion.

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

kenn...@hotmail.com

unread,
Aug 10, 2010, 10:43:43 PM8/10/10
to us...@tortoisesvn.tigris.org
I think I can confirm it is a issue with tortoise. first of all, it was such a simply delete of an folder that has 5 files, all under version control, not ignore. Then I got the error from tortoise when commit.

Then I turned to SVN command line, it committed the deletion without any problem.

I have to use command line for now unfortunately.

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

Andy Levy

unread,
Aug 10, 2010, 10:55:21 PM8/10/10
to us...@tortoisesvn.tigris.org
On Tue, Aug 10, 2010 at 22:43, kenn...@hotmail.com
<kenn...@hotmail.com> wrote:
> I think I can confirm it is a issue with tortoise. first of all, it was such a simply delete of an folder that has 5 files, all under version control, not ignore. Then I got the error from tortoise when commit.
>
> Then I turned to SVN command line, it committed the deletion without any problem.
>
> I have to use command line for now unfortunately.

You're replying to a year-old post. What version of Tortoise are you using?

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

kenn...@hotmail.com

unread,
Aug 11, 2010, 9:46:48 AM8/11/10
to us...@tortoisesvn.tigris.org
woops, didn't notice it was 2009. Sorry, running crazy recently. Version number is:

TortoiseSVN 1.6.9, Build 19725 - 32 Bit , 2010/06/18 16:38:36
Subversion 1.6.12,
apr 1.3.8
apr-utils 1.3.9
neon 0.29.3
OpenSSL 0.9.8o 01 Jun 2010
zlib 1.2.3

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

Reply all
Reply to author
Forward
0 new messages