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.
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.
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.
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.
SourceSafe was initially not a client/server Source Code Management, but rather a local only SCM system.
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.
SVN 1.6 has added support for single file externals
Perhaps these responses are useful: Sharing files in SVN
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With