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

RE: sync two copies of a file

From: Bob Archer <bob.archer_at_amsi.com>
Date: Tue, 4 Aug 2009 09:41:50 -0400

If you are running version 1.6.x then you can use a file external. Check out the svn book http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.externals .


From: Mohsen Alimomeni [mailto:m.alimomeni_at_gmail.com]
Sent: Tuesday, August 04, 2009 9:29 AM
To: users_at_subversion.tigris.org
Subject: sync two copies of a file

Is it possible to have a link to another file inside my repository, so that when checking out, I can have two copies of the same file in two different locations?

My problem is I am using a UML model which generates include and code files in one directory. I want to have all my include files in an include directory but the UML tool doesn't support that. I use svn copy to make a copy of include files in includes directory. But the problem is that when someone updates an include file, then if someone checkout the code, the main include file is different with the include file in includes directory.
I see someone has proposed having a command "svn ln", which seems to solve this problem, but is there any solution at present?


__ \ /_\\_-//_ Mohsen Alimomeni
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-04 15:43:51 CEST

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

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