[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: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 8 Dec 2008 18:32:08 -0500

On Sat, Dec 6, 2008 at 12:39, John Owens <john_owens_at_yahoo.com> wrote:
> Greetings, surely this is a one-line answer, but here's my situation:
>
> 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.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-09 00:33:11 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.