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

Re: Non-Recursive Directory Delete

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Wed, 30 Dec 2009 08:32:14 +1000

On Tue, Dec 29, 2009 at 6:29 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> On 29.12.2009 06:53, Daniel Becroft wrote:
> > On Fri, Dec 18, 2009 at 2:33 PM, Daniel Becroft <djcbecroft_at_gmail.com
> > <mailto:djcbecroft_at_gmail.com>> wrote:
> >
> > Hi,
> >
> > I've got the following working copy with the a status (reported via
> > 'svn status') as follows:
> >
> > M c
> > A c\kappa.doc
> > D c\d
> > D c\d\gamma.txt
> > D c\d\alpha.txt
> > D c\d\beta.txt
> > A c\mu.doc
> >
> > NOTE: 'c' has a property modification to 'svn:ignore'
> >
> > Through TSVN, I can successfully commit the entire set of changes
> > for 'c' and its children. Similarly, I can also commit just the
> > delete of 'c\d' and the property change to 'c' separately.
> >
> > However, if I elect to commit both the property change to 'c', and
> > the deletion of 'd' (excluding the c\kappa.doc and c\mu.doc files),
> > then TSVN gives me the following 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.
> > -----------------------
> >
> > I can successfully commit this combination of files using the SVN
> > command-line client. Using the new 'commit labels' in the nightly
> > builds,
> >
> > I'm using the 1.6.99 (build 18021) nightly build, but we originally
> > found the issue under TSVN 1.6.5.
> >
> >
> > Just wondering if someone can confirm whether this is intended
> > behaviour, or if this is a bug?
>
> The error is thrown by the svn library. TSVN just adds some helpful text
> to the error message to tell you why this happens.
>
> You're trying to commit 'c' but not 'c\kappa.doc'. So the commit must be
> non-recursive (a recursive commit of 'c' would include its children,
> including 'c:\kappa.doc'). And the svn library doesn't allow
> non-recursive commits of directory deletions of dirs with child nodes.
>
> Stefan
>

Thanks, Stefan. I thought I'd managed to get this combination to commit
correctly through the command line client, but I can't seem to remember how.
Guess I was mistaken.

Cheers,
Daniel B.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-29 23:32:38 CET

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