Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing Files in SVN

Tags:

svn

I am in the process of moving from VSS to SVN and I'm not sure how to share files in SVN.

Basically we have the following structure in VSS

$MOSS
  - Components
    - ComponentA
      - bin
    - ComponentB
      - bin
  - GAC Mirror

GAC Mirror holds a shared copy of all the Dlls from the bin folders of the components to allow for easy copying to the GAC.

In VSS all you do is drag the Dll from the bin folder to the GAC Mirror folder and it works it's life out.

How would I do this in SVN?

Thanks in advance.

like image 558
Arry Avatar asked Oct 30 '08 10:10

Arry


2 Answers

Is svn:externals what you're after? http://svnbook.red-bean.com/en/1.0/ch07s03.html

like image 94
tunaranch Avatar answered Sep 18 '22 12:09

tunaranch


I second Rick on this. To me, the whole concept of "sharing" (= having the same file occur in two places at checkouts) is weird.

I guess each versioning system has its own mindset implicitly attached to it. I've tried Perforce and I've stayed with Subversion. Bringing your projects to it without changing the mindset and maybe workflow may be flawed, though.

The Book on svn is a worthy read, to get some of the mindset submerged before doing the plunge. You can select some sections only, you don't have to read all at once.

like image 36
akauppi Avatar answered Sep 19 '22 12:09

akauppi