[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Trouble setting up common (shared) file in different projects.

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-05-24 02:59:48 CEST

On 5/23/07, Greg Leepart <gleepart@gmail.com> wrote:
> Hello,
> I'm sure this is an easy question that is answered in the manual, but after
> reviewing the manual, it seems it's the exact opposite of what i'm looking to
> do. I'm sure it has to do with lack of experience using this tool as well. Any
> help would be greatly appreciated.
>
> I have a file called Constants that is the same in 3 different projects: client,
> business, dataAccess. Here's the layout
>
> Client -> Constants.cs
> Business -> Constants.cs
> DataAccess -> Constants.cs
>
> The expected behavior is as follows:
> 1. Check out any Constants.cs, modify, save, and SVN Commit.
> 2. On next SVN Update, all constants.cs will be the most current version.

Look up svn:externals. You can specify a directory which will be
sourced from another place, but you can't do individual files in
Subversion.

You could do individual files with symbolic links (as SVN versions
those), but since those aren't supported on Windows, and you're asking
on the TSVN list, that's probably not an option.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu May 24 03:00:20 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.