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

Re: SVN Global Ignore Broken for Directories

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 03 Mar 2012 09:17:06 +0100

On 02.03.2012 22:07, Greg Neujahr wrote:
> I recently tried to commit a folder named Assets.o to my repository.
> When right clicking and adding, it only listed that folder for adding
> instead of its contents. So I checked the svn-ignore property and it
> was undefined for this repository and any of the subsequent folders I
> was working in. Additionally, I checked the global SVN ignore entry
> and found '*.o', which matched my particular folder. I removed the
> entry, leaving my global ignore pattern as:
>
> *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*#
> .#* .*.swp .DS_Store
>
> When trying to right click and add this folder now, the dialog claims
> there is nothing to add, which is even less true than when it only
> wanted to add the folder itself and not the contents.
>
> Additionally, it seems that even if I clear the entire string from
> the global ignore list, I'm not able to add folders with names that
> match any of the expressions within the list.
>
> Any idea what I could be doing wrong here? My work around was to add
> the folder remotely to the repository, update, and then put the
> contents in the folder. However, this is less than ideal as I may
> actually want to create folders using these naming conventions. I'm
> also not sure that Tortoise will alert me to new files and changes to
> files in this "ignored" folder, which could be problematic.

if the global ignore pattern entry does not exist, SVN automatically
uses the default pattern that was put in the config file when it got
created.
If you don't want to ignore anything, you have to enable the global
ignore pattern but then set it to an empty string.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2930648
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-03 09:17:20 CET

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

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