On 5/11/2011 9:29 AM, Markus Schaber wrote:
Hi,

Von: Markus Schaber [mailto:m.scha...@3s-software.com]
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.

Just some more explanation tot he situation:

[In all the following cases, it is assumed that the external directory
is from the same repository than the main working copy).

That would be a bad thing to assume in general.

I can commit files and directories from inside and outside the external
directory in the same commit, as long as the external directory itself
is not mentioned on the list of elements to commit.

I'd consider that accidental and not count on it.

I can commit the external directory itself (with and without files and
directories below the external directory), as long as no file or
directory outside of the external directory is mentioned on the list of
elements.

That part makes sense.

I cannot commit the external directory itself (which has changed
properties) together with any path in the working copy outside of the
external directory.

Is there a workaround?

If it is all in the same repository and you want it to be treated monolithically, why not move it to the layout you want instead of fighting with externals? Or if the referenced parts are really separate components, remember that and cd into the relevant directories when committing component changes.

--
  Les Mikesell
   lesmikes...@gmail.com

Reply via email to