subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: Combining files from different projects into a new project?
Date Wed, 27 Dec 2017 11:46:36 GMT
On 27.12.2017 12:41, Branko ─îibej wrote:
> On 27.12.2017 10:54, Bo Berglund wrote:
>> On Tue, 26 Dec 2017 12:23:45 -0600, Ryan Schmidt
>> <subversion-2016@ryandesign.com> 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
>>>
>> It seems like the externals have to be directories and not individual
>> files....
> You can only check out directories. Files in the same repository,
> however, can be linked as externals.
>
> You really should take time to read the book, since this the first time
> you're using Subversion. Most of your questions are answered in detail
> there.

Also, as a matter of best practice: with Subversion, it's generally
better to use one large repository than a number of small ones. And
instead of trying to replicate the structure you used with CVS, you
should think about structuring your data so that it fits Subversion's
model better. It takes a bit of getting used to but is definitely worth
it in the long run.

-- Brane

Mime
View raw message