Trouble with ignoring Subversion directories with EDP

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
User avatar
psguru
Site Admin
Posts: 2238
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post 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
psguru
PrestoSoft
jsivak
New Member
Posts: 7
Joined: Thu May 03, 2007 11:14 am

Post 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.
User avatar
psguru
Site Admin
Posts: 2238
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post 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.
psguru
PrestoSoft
jsivak
New Member
Posts: 7
Joined: Thu May 03, 2007 11:14 am

Post 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.)
User avatar
psguru
Site Admin
Posts: 2238
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

I believe we already covered this.

Code: Select all

:*\.svn
does match directories named ".svn", and you seem to have tested that.
psguru
PrestoSoft
jsivak
New Member
Posts: 7
Joined: Thu May 03, 2007 11:14 am

Post 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).
User avatar
psguru
Site Admin
Posts: 2238
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post 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).
psguru
PrestoSoft
Post Reply