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

Re: Question about svn:externals linking within a repository

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 11 Mar 2008 22:43:31 +0000

On 11/03/2008, Jason Harrison <harrison_at_koolhausgames.com> wrote:
>
>
> Simon Large wrote:
> > TortoiseSVN commits _from_ a single working copy _to_ the repository.
> > You can only commit changed files at or below the folder level you run
> > the commit from.
> >
>
> Isn't more correct to say that:
> TortoiseSVN commits from a single folder /a/ of a working copy all of
> the folders {/b/, /c/, /d/...}within (and below) the folder /a/, to the
> single repository A that working copy /a/ was checked out from. The
> folders {/b/, /c/, /d/...} could have been checked out from anywhere in
> the repository A via svn:externals,

Correct. What I meant was that the commit will not look above the
point where you ran it from. But yes, svn:externals may pull in
unrelated areas from the same repository.

> or local file system copies/moves.

Not correct. If you just pick up another WC, even one from the same
repository, and copy/move it into your WC you end up with nested
working copies. Changes in the nested WC will not be committed, and
will not even show up in the commit dialog. The nested WC will show up
in Check for Modifications, but only as a nested folder.

> If the folders {/b/, /c/, /d/...} were checked out from other
> repositories than A, they will not be committed.

Correct.

> (I've seen a case where a subfolder of the repository trunk was checked
> out and moved into a working copy of the branch and there was much
> confusion about why changes and commits to the branch didn't result in
> other developers getting copies of the fixed code. Careful examination
> of the commit log demonstrated that the working copy structure can bear
> little relationship to the repository structure.)

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-03-11 23:43:38 CET

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

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