Page 2 of 2

Posted: Tue May 08, 2007 5:35 pm
by psguru
So, should the \"correct\" CVS exclusion also just be:

Code: Select all

:*\\CVS
Yes. Just keep in mind that such filter will also work for paths like this:

Code: Select all

C:\Dir\CVS1.cpp

Posted: Wed May 09, 2007 10:01 am
by jsivak
In using

Code: Select all

:*\.svn
I'm still seeing a substantial slow down when comparing a subversion "sandbox" with a directory that doesn't have the .svn subdirectories.

But when using

Code: Select all

:*\.svn\*
its much faster. (but it shows the ".svn" directories)

Its like the first exclusion pattern is not ignoring the contents of the .svn directory when doing the compare.

Posted: Wed May 09, 2007 5:28 pm
by psguru
I don't see why.

This filter

Code: Select all

:*\.svn
is going to match more items, not less than

Code: Select all

:*\.svn\*
As a result, more items should be excluded if you use the first filter, and the comparison should be faster.

Posted: Thu May 10, 2007 6:21 am
by jsivak
Except

Code: Select all

:*\.svn
doesn't seem to match/ignore a directory named ".svn". (When that directory is present on only one "side" of the comparison.)

Posted: Thu May 10, 2007 6:28 pm
by psguru
I believe we already covered this.

Code: Select all

:*\.svn
does match directories named ".svn", and you seem to have tested that.

Posted: Fri May 11, 2007 6:22 am
by jsivak
psguru wrote:I believe we already covered this.

Code: Select all

:*\.svn
does match directories named ".svn", and you seem to have tested that.
Sorry, you're right.. I was getting my "issues" mixed up.

Have you tried comparing a checked out SVN project against an "exported" SVN project (one that doesn't have all of the .svn directories)?

It really appears that the simple ":\.svn" exclude pattern is not preventing ED from "looking" into the .svn directories (which contain lots of files that are going to be ignored anyways).
It's made worse when comparing a local directory against a networked directory (a share on a network server).

Posted: Fri May 11, 2007 7:22 pm
by psguru
OK, now it's my turn to admit being mixed up. The pattern that you need to use is actually

Code: Select all

:*\.svn*
(note the star at the end).