[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Combining files from different projects into a new project?

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Wed, 27 Dec 2017 10:54:36 +0100

On Tue, 26 Dec 2017 12:23:45 -0600, Ryan Schmidt
<subversion-2016_at_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....
I tried to check out a file from svn but it failed miserably:

svn co https://server/svn/pc/project/trunk/file.pas src
svn: E200007: URL 'https://server/svn/pc/project/trunk/file.pas'
refers to a file, not a directory

-- 
Bo Berglund
Developer in Sweden
Received on 2017-12-27 10:55:00 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.