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

Re: How do I share files?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 5 Jan 2010 10:05:07 -0500

On Tue, Jan 5, 2010 at 09:53, Thomas Harold <thomas-lists_at_nybeta.com> wrote:
> On 1/4/2010 7:20 PM, Rolf Marsh wrote:
>>
>> Hello... I have two projects in Subversion. I am trying, in Visual
>> Studio 2008 Pro, to share some of the .cs files in Project 'A' with a
>> new project ('B') I am writing.
>>
>> I know how to share .cs files from within VS, but how to I get them out
>> of the repository?
>
> Unlike VSS / SourceOffSite, SVN doesn't (currently... with no plans to
> change) support the sharing of individual files, instead it likes to work on
> a folder (project) level.
>
> So if you can put the resources to be shared in a sub-folder of your VS
> project, you can then use svn:externals to share them to another folder as a
> sub-folder.
>
> http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html
>

As of SVN 1.6, file-level externals are supported. This is very close
to VSS's sharing IIRC (been a few years since I've dealt with VSS).

http://subversion.tigris.org/svn_1.6_releasenotes.html#externals
http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html
Received on 2010-01-05 16:05:44 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.