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

Re: Can't get ignore pattern to work for subfolders

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 24 Sep 2008 21:21:07 +0200

Michael Williamson wrote:
> Hi
>
> My working copy has a structure like
> projectRoot/folderA
> projectRoot/external1
> projectRoot/external2
> projectRoot/folderB
> etc.
>
> where external* are 3rd party source trees referenced as svn:externals
> to separate repositories.
> Certain other unversioned files / folders get placed in these externals,
> e.g. precompiled dependencies, build products.
>
> I'm trying to have those extra unversioned files / folders inside
> externals* be ignored, to de-clutter my modified / commit list.
>
> The only way I've found that works is to modify the svn:ignore prop on
> each individual subfolder of external* that contains an extra file / folder.
> This is a bit fiddly, plus I'd rather not modify anything in the
> external* folder properties (as then they show up modified too).
>
> The TSVN help file (specifically section 5.13.1, "ignore") seems to
> indicate I can ignore subpaths by setting this on the "projectRoot"
> folder's properties:
> svn:ignore *external1*

No, the svn:ignore properties only work for the items directly below the
folder where you've set them.

> But this doesn't work. Tried without the * wildcards too, and tried the
> full path to the extra subfolder (*external1/Dependencies).
>
> Is there a way to do this?

You could use the global ignore patterns in the settings dialog.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-09-24 21:21:34 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.