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

Re: Making a automatic copy of a file to a different place

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-03-10 17:00:58 CET

On 3/10/06, Jean-Paul Hamerton <j.hamerton@zylom.com> wrote:
>
> We are all new to SVN at my work, and we are learning as we go.
> I looked but as always it's a bit hard to the right words to look for.
> I have 2 CPP files that are the same in the SVN project but in a different
> directory.
> When I update one I have to update the other. I do this with an SVN copy.
> I would like not to have to do this as some times I forget.
>
> I thought maybe SVN can do this for me.
> Some how have 2 files that are linked together if you update one the other
> is always updated.
> any help?

This is an SVN question, not specific to TortoiseSVN, and would be
better asked on that mailing list.

SVN support and versions symlinks if your filesystem supports it. If
you don't have symlinks available, check out the svn:externals
property, it does pretty much what you're looking for. It doesn't
maintain 2 copies of the file in the repository, but rather tells SVN
"when you retrieve this directory, also go to this location and pull
the data there." I think it only works for directories though, not
individual files; careful setup of your directory structure can work
that out though.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Mar 10 17:01:20 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.