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

Re: unversioned files / directories in externals treated inconsistently

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 14 Jan 2012 10:02:08 +0100

On 13.01.2012 09:17, Hendrik Fuß wrote:
> Hi,
>
> I've found something in TortoiseSVN that looks to me like an
> inconsistency:
>
> If I have unversioned items in an svn:external directory, the
> unversioned directories appear under the heading "(externals) name"
> in the status dialog. Unversioned files, however, appear under "root
> project".

for me, unversioned files inside an external folder also appear under
"(externals) name".

>
> Also, if I uncheck "Items in externals", the unversioned directories
> disappear, but the files remain.
>
> Is this the desired behaviour or is it an inconsistency?

It is the desired behavior. It seems like an inconsistency only if you
don't factor in the use cases for each option:

"Items in externals" active:
this is used when you have externals but those are from the same
repository as the root. In that case, you can commit changes to those
externals together with your root changes. Externals from different
repositories are shown in gray (in the commit dialog) and can't be
checked because you can not commit those in the same commit as the root
changes.

"Items in externals" inactive:
Used if you don't want to commit changes to externals in the same
commit, i.e. if you treat the externals as separate projects.
Then unversioned items are shown to remind you that you either have to
add them to version control or ignore/delete them.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2908712
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-14 10:02:19 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.