Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion (SVN) equivalant to Visual Source Safe (VSS) "Share"

I have a scenario in my project where I need to share a single file between multiple projects in the same solution. Back in my Visual Source Safe days (Shudder), I'd use the "Share" option to allow me to make changes to this file in any of the locations. Then once it was checked in I could guarantee that the other locations will get the update.

alt text

I'm trying to do this in Subversion but I can't seem to find the option anywhere. I do know about svn:externals however I'm only interested in sharing a single file between multiple locations.

Does anyone know how to do this in Subversion?

Thanks

Edit

In the end i decided to use the sharing capabilities in visual studio. It works exactly like the share used to work in Visual Source safe. I.e. I only have to maintain 1 file and both are updated.

To do this you goto Add Existing Item >> Then CLick Add as Link from the top down bottom right.

like image 277
CraftyFella Avatar asked Oct 07 '09 09:10

CraftyFella


People also ask

What replaced visual SourceSafe?

There are more than 10 alternatives to Microsoft Visual SourceSafe for a variety of platforms, including Windows, Linux, Mac, Online / Web-based and BSD. The best alternative is Git, which is both free and Open Source.

What is TFS and VSS?

VSS is a file system based source control program developed by Microsoft while TFS is a Microsoft product that provides source code management, reporting, requirement management, project management, automated builds, release management and many other capabilities. Thus, this is the main difference between VSS and TFS.

Is VSS a SCM tool?

SourceSafe was initially not a client/server Source Code Management, but rather a local only SCM system.

What is Visual SourceSafe Explorer?

The Visual SourceSafe Explorer is the main application for managing projects under source code control. Using this tool, all the features of VSS are available to you. Figure 20.2 shows the VSS Explorer after a new installation of SourceSafe, with no projects under source control.


2 Answers

SVN 1.6 has added support for single file externals

like image 139
Phil Jenkins Avatar answered Nov 15 '22 10:11

Phil Jenkins


Perhaps these responses are useful: Sharing files in SVN

like image 26
fglez Avatar answered Nov 15 '22 09:11

fglez