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

AW: Find out whether a directory is external

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Wed, 11 May 2011 16:24:58 +0200

Hi, Andy,

> Von: Andy Levy [mailto:andy.levy_at_gmail.com]
> > Is it true that the only way to find out whether a directory
residing
> > somewhere deep in a working copy tree is included via
"svn:externals"
> > is to check the parent directory?
>
> Yes. Due to how WC metadata is handled, a directory in a WC doesn't
"know"
> what's above it in the hierarchy. This may change with 1.7 but that's
> merely wild speculation based on the fact that the WC handling code
has
> been completely redone.

Ok, I see.

Maybe this is also the reason for the following problem:

When I commit several pathes, one of them being an external directory, I
get an exception:
"Are all the targets part of the same working copy?",
SVN_ERR_WC_NOT_LOCKED.

I cannot omit the external directory from the list of items to be
commited (as it may contain property changes I want to commit), and I
cannot use recursive commit on the parent directory (as this would
commit other objects the user did not select for commit).

Is there a workaround?

Or is this question better submitted to the dev list?

Best regards

Markus Schaber

___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 |
Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects:
http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner |
Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2011-05-11 16:25:31 CEST

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

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