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

Re: Supplement: Creating relative links to manage document duplication

From: Sam Barnett-Cormack <s.barnett-cormack_at_lancaster.ac.uk>
Date: Fri, 16 Jan 2009 13:41:56 +0000

andrew.walker_at_gro-scotland.gsi.gov.uk wrote:
> Additional information:
>
> The client originally hoped for an option in TortoiseSVN to maintain
> copies of a document in multiple locations in the repository, where
> modifying one version/instance/copy would mirror to the others. Ergo
> the svn copy from the right-drag menu is not sufficient.

Well, Subversion itself can handle symlinks on unix, but Tortoise
(largely due to the underlyng SVN libraries) can't handle the Windows
Vista version of symlinks. However, if you want to duplicate *whole
directories* within a repo/WC, you can use externals. These do not,
however, work for individual files.

I believe that externals were originally intended to point to different
repositories, or different "projects" in one repo, but I have
successfully used them to have one folder "appear" in many locations. In
an export, it would create several copies, one in each place, but in a
checkout the working copy 'knows' that they are the same. It won't
replicate changes live, but each instance essentially works as a
separate working copy, and a checkin/checkout will replicate everything.

-- 
Sam Barnett-Cormack
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1028613
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-16 14:42:56 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.