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

Re: One file in multiple sub directories

From: B. Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sun, 6 Dec 2009 09:47:49 +0100

On Fri, Dec 4, 2009 at 12:02, Enrico Straube
<enrico.straube_at_cbb-software.com> wrote:
> Hello,
>
> is it possible to use one file in an directory like this:
>
> trunk/sub1/file1.txt
>
> and have an "link" or something in one other sub directory like this:
> trunk/sub2/file1.txt

if you are using linux/mac and always check out the whole trunk you
can use a symbolic link.

cd trunk/sub2
ln -s ../sub1/file1.txt

> The file should be the same and only editable in the directory sub1.

the file will appear "editable" in either directory, but it's the real
file in sub1 that will actually be changed. the symbolic link in sub2
will not be altered by edits.

> How can I make this?
>
> I don't want to copy that file every time from one folder to the
> other.
>
> --
> Regards,
> Enrico
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2426977
>
> Please start new threads on the <users_at_subversion.apache.org> mailing list.
> To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
>

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

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-06 09:50:15 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.