[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: Hendrik Maryns <qwizv9b02_at_sneakemail.com>
Date: Tue, 09 Dec 2008 13:57:39 +0100

John Owens schreef:
> 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.
>
> Hopefully this is a simple operation. Thanks!

I had a similar situation where I simply created a hard link on my hard
disk (Linux, of course). This, however, isn’t as safe, since if
somebody else checks it out, he will not see this.

H.

-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981633
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2008-12-09 23:50:21 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.