Author Topic: Exclude directories on add wildcard?  (Read 12799 times)

perssontm

  • Community Member
  • Posts: 13
  • Hero Points: 0
Exclude directories on add wildcard?
« on: March 02, 2008, 09:00:34 AM »
Just activated my new license for se, and are playing around some more after the trial.

I'm currently using the auto folder -> directory view. And have used "Add wildcard" recursive on an existing subversion project. My problem is that I keep getting all the .svn folder to show up in the directory view. Is there a way to hide or exclude those?

I tried entering all sorts of matching stuff in the "exclude filespecs" box, but it only seems to appy to files(hence the name, but worth a shot).

/Eric

alexl

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Re: Exclude directories on add wildcard?
« Reply #1 on: March 02, 2008, 11:17:17 AM »
You can try to put ".svn/"(without quotes) in Exlude filespecs.

jbhurst

  • Senior Community Member
  • Posts: 405
  • Hero Points: 33
Re: Exclude directories on add wildcard?
« Reply #2 on: March 03, 2008, 07:32:03 PM »
And if you're on Windows, use "*\.svn\*" (without the quotes).

Alternatively, if you have Windows Explorer set to "Do not show hidden files and folders", the .svn folders should not appear in the project.

Regards
John Hurst
Wellington, New Zealand


perssontm

  • Community Member
  • Posts: 13
  • Hero Points: 0
Re: Exclude directories on add wildcard?
« Reply #3 on: March 09, 2008, 05:28:08 PM »
I tried a variety of exclusions, but since the .svn is a folder, it does not seem to be evaluated.


jbhurst

  • Senior Community Member
  • Posts: 405
  • Hero Points: 33
Re: Exclude directories on add wildcard?
« Reply #4 on: March 09, 2008, 05:39:25 PM »
Which OS are you using?

John Hurst
Wellington, New Zealand

perssontm

  • Community Member
  • Posts: 13
  • Hero Points: 0
Re: Exclude directories on add wildcard?
« Reply #5 on: March 10, 2008, 07:03:28 PM »
I use linux, I have deactivated the noatime flag on the filesystem a long time ago, but for others that might be a way to make it faster?

jbhurst

  • Senior Community Member
  • Posts: 405
  • Hero Points: 33
Re: Exclude directories on add wildcard?
« Reply #6 on: March 10, 2008, 07:21:04 PM »
OK, I'm getting a little confused here. Now you're talking about "a way to make it faster", but your original post is about seeing .svn folders in the directory view.

I'm using GNU/Linux too. I have put ".svn/" (without the quotes) in "Exclude filespecs" when I've used wildcards to define my project. I don't see .svn directories in the directory view (Projects tool window, Auto Folder > Directory View).

Have you tried that, and are you still seeing the .svn folders?

Regards

John Hurst
Wellington, New Zealand



perssontm

  • Community Member
  • Posts: 13
  • Hero Points: 0
Re: Exclude directories on add wildcard?
« Reply #7 on: March 11, 2008, 07:42:42 PM »
Ahh..well... sorry for beeing confusing. I've been trying several things and mixed it up a bit.

I know tested to add .svn/ to excluded filespecs, and it did actually work, but i had to add it for every wildcard inclusion i made. Thought I did that the first time, but must have missed something. Thanks a lot for giving good hints. :)