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

Re: svn:external use

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 18 Apr 2008 21:47:14 +0100

On 18/04/2008, suedeuno <wdewerff_at_gmail.com> wrote:
> I'm looking for the usage to copy a file to another project location
> on the repository using externals.
>
> Looking at the docs it appears you commit your file and folder. Then
> on the directory you want the file and folder copied too, set the
> external using with Name URL. Is this correct?
>
> Do I first commit the same file and folder to the location it will get
> copied too by SVN?
>
> The file should get copied anytime it is updated, do I add anything to
> allow it to update regardless of which copy gets updated?

svn:externals does not copy anything in the repository. It works a bit
like a symbolic link in your working copy. If you set the
svn:externals property on a versioned folder (please read the help
file to find out how to do this) then when you update that folder the
external reference will be pulled down from its repository too.

If you make changes within the externals folder and commit those
changes then any other projects which use that folder, either directly
or as an external, will get your changes when they update.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-18 22:47:21 CEST

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