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

Re: how to make one file in repository link-to / check-out-to another location?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Mon, 8 Dec 2008 21:52:32 -0600

On Dec 8, 2008, at 17:32, Andy Levy wrote:

> On Sat, Dec 6, 2008 at 12:39, John Owens wrote:
>
>> I have a repository with a file (file.txt) in one place (trunk/foo).
>>
>> I would like file.txt to appear in another place (say, trunk/bar). So
>> what I do is symbolic-link file.txt from foo to bar, and check in
>> that
>> link, and all is well.
>>
>> However, another user wants to check out bar and have file.txt in it,
>> but does NOT want to check out foo. Thus when the user checks out
>> bar,
>> she gets a link to foo, and that's not good.
>>
>> I guess I'd like to check out file.txt in numerous places and
>> whenever
>> changes are made to it, they are reflected in the original
>> foo/file.txt. Is this possible?
>>
>> "externals" appeared to be the right way to go, but that seemed more
>> like an external repository, and I need an internal one.
>
> Externals, despite the name, work equally well for intra-repository
> "links" as inter-repository links.

However, John, note that you can only declare externals at the
directory level. You cannot declare externals at the file level.

There is already an open feature request for that:

http://subversion.tigris.org/issues/show_bug.cgi?id=937

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981460

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-09 04:53:36 CET

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.