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

RE: Re: possible to 'share' or 'link' to common directories?

From: Glenn Carr <GCarr_at_ConnectShip.com>
Date: 2006-07-11 19:52:15 CEST

Looks like you can update externals, but not commit?...
 
From http://svnbook.red-bean.com/en/1.0/ch07s03.html:

So, for example, if you want to commit changes that you've made in one or more of those external working copies, you must run svn commit explicitly on those working copies-committing on the primary working copy will not recurse into any external ones."

-----Original Message-----
From: Ryan Davis [mailto:ryan@acceleration.net]
Sent: Tuesday, July 11, 2006 10:19 AM
To: users@tortoisesvn.tigris.org
Subject: Re: possible to 'share' or 'link' to common directories?

You want to set you svn:externals property, which you can set by right clicking \a, going to the subversion tab, and selecting svn:externals from the dropdown.

See http://svnbook.red-bean.com/en/1.0/ch07s03.html for details on how to set that.

HTH,

Ryan Davis

Acceleration.net

Director of Programming Services

2831 NW 41st street, suite B

Gainesville, FL 32606

Office: 352-335-6500 x 124

Fax: 352-335-6506

Glenn Carr wrote:

Is there any way to share or link a svn-controlled directory so that it is 'commit-able' from two different roots?
 
E.g.,
 
\common
\a
\b
 
Directories \a and \b both have code that depends on code in \common. There are often changes made to both \a and \common and both \b and \common. I would like to have a link under \a and \b that is in actuality \common:
 

\common
\a\common(link)
\b\common(link)
 
It is possible to create Unix-like 'links' under Windows 2000/XP using the LINKD command. I've tried to do just that. The link shows up under source control, but a commit from an upper level directory doesn't find the sub-directory link.
 
Is there anything built in to SVN to allow something like this?
Received on Tue Jul 11 19:51:38 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.