Re: svn:externals - using an external file

Johan Corveleyn <[email protected]> Thu, 12 Feb 2026 16:45:06 +0100
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAB84uBVyyEWWf2VRQbw33uUmpq+0Ap+UqR=WFRFMyxQxzzwzMQ@mail.gmail.com>
On Thu, Feb 12, 2026 at 3:33=E2=80=AFPM Richard Cavell <richardcavell@mail.=
com> wrote:
>
> 3 has existed in repo2 since revision 1 of repo2.
> svn:externals on / (root) of repo was added in revision 5 of repo.

The problem is that '3' is a file (hence the mention of "file
external" in the error message). And "file externals" work differently
from directory externals. More to the point: file externals can only
be used within the same repository, not cross-repository.

It's a bit hidden in the text at [1]: "File externals cannot refer to
files from other repositories. A file external's URL must always be in
the same repository as the URL that the file external will be inserted
into."

[1] https://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html


--
Johan