subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <bo.bergl...@gmail.com>
Subject Re: Combining files from different projects into a new project?
Date Wed, 27 Dec 2017 10:18:19 GMT
On Wed, 27 Dec 2017 06:23:29 +0000, Lorenz <lorenznl@yahoo.com> wrote:

>Ryan Schmidt wrote:
>>On Dec 26, 2017, at 02:00, Bo Berglund wrote:
>>
>>> In an earlier thread I asked about how I could simulate this in svn
>>> and to use the "svn externals" system was adviced.
>>> 
>>> When I am now facing actually doing this I find that (unless I am
>>> mistaken) the externals only reference whole directories, which is not
>>> what I want. I need individual files from a couple of source
>>> directories containing commonly used files in every such project.
>>> 
>>> Is it actually possible to do this in Subversion?
>>
>>Yes, file externals are possible in Subversion 1.6 and later.
>>
>>http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html
>
>
>but not accross different repositories
>
>from: http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html
>>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.

Does this mean thta I can forget about externals then?
I imported the CVS repositories by creating a master repository for
each existing CVS repository and then cvs2svn was set to import each
top level directory as a separate item. I am very confused about the
terminology used here since sometimes documentation exeplifies a
repository by a single project (like my top level CVS directories) and
sometimes it looks like they talk about "projects" within a single
repository.
Which limitation is there really in the externals case?

But then again, as I feared when reading the docs, it seems like an
external can only be a directory and not a file within a directory...

It seems impossible to check out a single file from a svn
repository...


-- 
Bo Berglund
Developer in Sweden


Mime
View raw message