tags:

views:

879

answers:

3

I can see some potential difficulties with this concept but the idea is,

I change a file in Repository A and commit, Repository B has a file that is a link to a file in Repository A, I click update on the file in my working copy for repository B, and i recieve the updated file from repository A.

+8  A: 

Yes, for directories anyway

See this section on svn externals.

Update: Good call also by basszero but note that the questioner almost certainly does not have an svn 1.6 repo, so he can't do it with files.

DigitalRoss
This should work for all the files in that directory. I am using something like this here.
Buggabill
subversion 1.6 support externals defintions for files as well
basszero
@basszero: svn supports only file externals to text files, binary files cannot be "externalized"
Peter Parker
thanks for additional info, I did not know the text file limit
basszero
+1  A: 

This is easy to do with "external" links in your subversion repository.

Personally I find this is very useful for incorporating open source libraries into my code (Codeplex, Google Code, etc...).

Search for "svn:externals" to find documentation on the details

Scrappydog
+3  A: 

If you're lucky enough to use subversion 1.6, you can have external links for both directories AND files

basszero
"lucky enoug", lol as if only the rich kids can afford to get thier hands on this little gem of free open sourcedness.
Neil N
If he's not hosting the repo himself, he probably doesn't have control over what version is on the server. Free doesn't always mean accessible :)
jrummell
basszero, +1 Good call.
DigitalRoss
svn1.6 supports only file externals to textfiles.
Peter Parker
you've never maintained legacy code or worked for the government. Sometimes I'm happy to use ANY version of subversion.
basszero