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

Re: TortoiseSVN Add and global-ignores

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 03 Apr 2014 20:07:30 +0200

On 03.04.2014 13:47, Julien Cugnière wrote:
> Sorry, I should have been more specific : I'm not explicitly adding an
> item that is ignored. Rather, I'm adding a folder that contains ignored
> items. And Tortoise is behaving differently from core Subversion.
>
> Consider the following working copy, with the property
> svn:global-ignores set to "*.log" on "/trunk" :
>
> /trunk/
> /trunk/folder1/
>
> Then create the following files and directory :
>
> /trunk/folder1/app/
> /trunk/folder1/app/run.log
> /trunk/folder1/app/main.cpp
>
> With the core Subversion command-line, if you run "svn add app" from the
> "folder1" directory, svn will respect the inherited svn:global-ignores
> property, and add "app/" and "main.cpp", but *not* "run.log".
>
> With TortoiseSVN, if you execute the "Add" command on the "app"
> directory, TSVN will *not* respect the svn:global-ignores, and will add
> everything, including "run.log". I feel that in the "Add" dialog, the
> ignored files and folders should at least be unchecked by default. Maybe
> they should even not appear at all.

TSVN will show you a dialog where you can review and check/uncheck the
files you want to add and those you don't. It will not add anything
without asking you first.

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=3075792
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-04-03 20:07:27 CEST

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.