You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Aldrich <da...@gmail.com> on 2019/02/05 11:26:49 UTC

Is it possible to specify an external to the same repository?

Hi

In our embedded projects we have a register interface maintained by our HW
team and software that uses that register interface maintained by our SW
team.  As the interface is constantly changing, we want the software source
files to reference a fixed version of the interface.

In some projects the register interface and software are in separate
repositories. So the software simply references the register interface
using an svn external with fixed revision number.

In other projects the register interface and software are in the same
repository.  It is inconvenient to instruct all developers and users to peg
specific revisions of the register interface within their working copies.
Can we use externals in this situation, or is there another solution?

Best regards

David

Re: Is it possible to specify an external to the same repository?

Posted by Branko Čibej <br...@apache.org>.
On 05.02.2019 12:26, David Aldrich wrote:
> Hi
>
> In our embedded projects we have a register interface maintained by
> our HW team and software that uses that register interface maintained
> by our SW team.  As the interface is constantly changing, we want the
> software source files to reference a fixed version of the interface.
>
> In some projects the register interface and software are in separate
> repositories. So the software simply references the register interface
> using an svn external with fixed revision number.
>
> In other projects the register interface and software are in the same
> repository.  It is inconvenient to instruct all developers and users
> to peg specific revisions of the register interface within their
> working copies.  Can we use externals in this situation, or is there
> another solution?

Of course you can use externals that point to the same repository. Even
better, you can use 'relative' externals for such cases. See:

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

-- Brane