On Aug 15, 2005, at 6:48 AM, Gareth Bryan wrote:
> Hi,
>
> Appologies if this is an RTFM question (I have, but can't spot the
> answer)...
>
> What is the reason for the status command showing 'X' for (external)
> subdirectories but showing normal when the command is run directly on
> that subdir?
>
> To clarify, assume that ./lib/thirdParty is external (in my case diff
> project in same repos)
>
> 'svn status ./lib' returns:
>
> X lib/thirdparty
Right, because you're asking the lib directory: "what sort of
interesting things do you contain?", and the answer is: "I have a
child named 'thirdparty' which is an externally-linked thing."
>
> whereas 'svn status ./lib/thirdparty' returns nothing?
>
Here, you're asking the thirdparty directory: "what sort of
interesting things do you contain?", and the answer is, "nothing".
The thirdparty directory is a completely standalone working copy, all
by itself. It has no knowledge of its parent directory, nor
knowledge that it's somehow "linked" to the parent through its
parent's svn:externals property.
>
> Is the only way to determine whether or not a directory path is
> external to run a status command on its parent directory?
Yes. The external linkage is purely a property of the parent, and
subdirs don't track their parents.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 15 14:01:05 2005