subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Schaber" <m.scha...@3s-software.com>
Subject AW: Find out whether a directory is external
Date Wed, 11 May 2011 14:24:58 GMT
Hi, Andy,

> Von: Andy Levy [mailto:andy.levy@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

Mime
View raw message