Wildcard pattern

When I want to select files in a SVN-controlled directory, for a commit in one revision, I switch to Flat View.
Then I can select all files belonging together, independent of their sub directory. (Is there an easier way ? :slight_smile: )

In that Flat View I'd like to filter (hide) files named:
entries and *.svn-base and *.pyc

I tried:

code|(*.(svn-base|pyc))

or:

entries|*.(svn-base|pyc)

or even:

entries|*.svn-base[/code]

Is it possible, and if yes: how?

The first one looks fine. (Maybe the others too, not sure.)

What are you actually doing with those wildcards? What's the full command or action?

Filling in in the filter field, and as well tried a button with

Set HIDEFILTERFILENAME=entries|*.(svn-base|pyc)

It's like the combination on file name and extensions is the problem.

Ah, I think you just need an extra set of brackets. They may always be needed around any | expression:

Set HIDEFILTERFILENAME=(entries|(*.(svn-base|pyc)))

Taadaa. You're right.
Thanks for the extra eyes. :smiley:

By the way, if you turn on Prefs - Misc. - Advanced: flatview_folder_filters, you can then simply filter out the .svn (or _svn depending on your subversion config) folders themselves.

(With that enabled, any folder filtered out in flatview will be hidden, including everything below it. This confused a lot of people so filtering folders in flatview was disabled by default, but you can turn it on if you know what you're doing.)