You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mohsen Alimomeni <m....@gmail.com> on 2009/08/04 13:28:49 UTC
sync two copies of a file
Hi,
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?
Thanks,
--
__ \ /_\\_-//_ Mohsen Alimomeni
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2379998
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: sync two copies of a file
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 4, 2009, at 08:41, Bob Archer wrote:
> 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 .
Or, if you are using an OS that isn't Windows, you can use symlinks.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380196
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: sync two copies of a file
Posted by Bob Archer <bo...@amsi.com>.
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 .
BOb
From: Mohsen Alimomeni [mailto:m.alimomeni@gmail.com]
Sent: Tuesday, August 04, 2009 9:29 AM
To: users@subversion.tigris.org
Subject: sync two copies of a file
Hi,
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?
Thanks,
--
__ \ /_\\_-//_ Mohsen Alimomeni
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380001
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].