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

Re: Global Ignore Pattern Issues

From: Aaron Davies <aaron.davies_at_gmail.com>
Date: 2006-04-06 22:08:34 CEST

On 4/6/06, Stefan Küng <tortoisesvn@gmail.com> wrote:

> Aaron Davies wrote:
>
> > For example, the pattern "*/bin/*" successfully ignores
> > foo/bar/baz/bin/com/corp and its children, but not its parent
> > foo/bar/baz/bin/com. I have yet to find a pattern which will ignore
> > the latter.
>
> I've set
> *\bin\*
> as an ignore pattern. Then I created a folder 'bin', 'bin\com' and
> 'bin\com\corp'. Then I put 10 random files in each one of those folders.
> Then I choose "Check for modifications", enabled "show unmodified files".
>
> The only folder showing up was 'bin', and that one can be ignored by
> adding 'bin' to the ignore pattern.
>
> So, you really have to stop just telling us that 'they're not ignored'
> but exactly what your working copy structure looks like, the *exact*
> ignore pattern string, and which folders/files are versioned and which
> are not.
>
> Oh, and you know that versioned items can't be ignored at all?

OK, it looks like I may have been at least partially barking up the
wrong tree on this. In our layout, the "bin" folders (and all their
parents, of course) are in fact versioned, in the cases that are
showing up. However, the "bin/com" folders contained within them are
not. Shouldn't adding "bin/com */bin/com */bin/com/*" to the pattern
ignore these as well, or am I confused again? (It doesn't.)

For reference, my entire ignore pattern is:

build deploy dist JuggerNet bin/com */bin/com */bin/com/* bin */bin
*/bin/* obj *.dll *.pdb *.csproj.user *.suo _ReSharper*
*.resharperoptions *.class

As you can see, this is a multi-language project using both Java
(built in Eclipse) and C# (built in Visual Studio). (Some of those
patterns are probably redundant (like obj); I been focusing on getting
all the files I want ignored, ignored, not optimizing the path.)

--
Aaron Davies
aaron.davies@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Apr 6 22:09:12 2006

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.