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

[TSVN] RE: Renaming folders

From: Vincent Thornley <vthornley_at_iee.org>
Date: 2004-08-16 13:41:34 CEST

Vincent Thornley wrote:
> When OK is selected an error message is reported 'Cannot non-recursively
> commit a directory deletion'. I did an update before the commit
> and there do
> not appear to be any folders or files missing in the commit list,
> so what is
> causing the non-recursive message? Is it because the command to SVN uses
> the -N flag and SVN reports an error even though all files are included in
> the commit list?
>

I have been doing further investigation and this problem does not appear
straightforward. I haven't yet worked out a detailed recipe to produce the
error every time (and show when the error won't occur) but let me give more
information about the original problem.

Working copy structure:
Trunk [root of WC]
  /integration
    /MatLab Step 01
      /[sub-folders]
      [files]
    /MatLab Step 02
      /[sub-folders]
      [files]
    /MatLab Step 03
      /[sub-folders]
      [files
    /MatLab Step 04
      /[sub-folders]
      [files]
    /MatLab Step 05
      /[sub-folders]
      [files
    /MatLab Step 06
      /[sub-folders]
      [files]
    /MatLab Step 07
      /[sub-folders]
      [files]

I wanted to eliminate spaces in folder names due to problems with some tools
so using Tortoise I renamed 'MatLab Step 01' to 'MatlabStep01' and repeated
for '...02' to '...06'. I have not yet renamed 'MatLab Step 07' since there
are some other changes there that I want to commit first.

When it came to the commit within the integration folder I right-clicked and
selected 'Commit...'. Because I did not want to commit the changes in the
'MatLab Step 07' folder I de-selected all changed items listed in the box,
entered a log message and clicked OK.

This resulted in the error 'Cannot non-recursively commit a directory
deletion'.

Then I copied the 'MatLab Step 07' folder elsewhere with its changes and
reverted it back to its original state and did a 'Commit...' again. This
time I committed all listed changes and the operation worked.

Hope this points a bit more towards the problem. I am doing some further
tests with a simple test repository but I am having trouble recreating the
error.

Vince

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Aug 16 14:44:34 2004

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

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