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

Re: internal symlinks

From: Marcus Rueckert <darix_at_web.de>
Date: 2006-02-02 02:21:51 CET

On 2006-01-31 10:02:00 -0800, Duke Tantiprasut wrote:
> I think it would be good if SVN can natively support symlinks within its
> internal repository tree and manage it itelf rather than relying on the file
> system that is checked out on.
>
> Perhaps something along the lines of:
>
> svn link svn://source svn://dest
>
> The idea is rather than creating a copy (i.e. branch), it would allow
> changes to files in that directory to flow through and not branch.
> Bidirectional would be good, but even just unidirectional link svn:externals
> would be a good start. Editing svn:externals is troublesome, it's not easy
> to just add and remove directory members, especially when you need to
> automate.

[[[
$ cat addexternal
#!/bin/sh
T="$(mktemp)"
svn pg svn:externals $1 > $T
echo "$2" >> $T
svn ps svn:externals -F $T $1
rm $T
]]]

doesnt sounds complicated to me. removing is as simple as adding.

just my 2 cents.

    darix

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 2 02:22:26 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.