Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to link SVN repository files so that a file is actually a reference to another repository's file?

Tags:

svn

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 receive the updated file from repository A.

like image 335
Firoso Avatar asked Sep 09 '09 20:09

Firoso


People also ask

How do I add an existing project to a svn repository?

Give the project a name and click through to finish on the wizard. To import a project into the repository, right click the project you want to import and select Team > Share Project... from the context menu. This will begin the Share Project wizard. Select SVN as the repository type and click Next.


1 Answers

Yes, for directories anyway

See this section on svn externals. The svn:externals property is set on a versioned directory; its value is typically another versioned directory in a repository (possibly the same one) of your organization. They act in the end something like symbolic links.

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.

like image 134
DigitalRoss Avatar answered Sep 20 '22 02:09

DigitalRoss