You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bern McCarty <Be...@bentley.com> on 2004/02/18 17:32:43 UTC

Svndumpfilter slows down suddenly on Windows

I just tried svndumpfilter (I'm using Windows XP) and it seemed to be moving
along at a good clip as long as it was including stuff but once it started
filtering stuff out it seemed to suddenly slow to a crawl.  I was excluding
branches.

I suspect something bad is happening with buffering and pipes on Windows or
something.  Has anyone else observed a sudden drop off in svndumpfilter
performance?


Bern McCarty
Bentley Systems, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Svndumpfilter slows down suddenly on Windows

Posted by "C. Michael Pilato" <cm...@collab.net>.
Bern McCarty <Be...@bentley.com> writes:

> I suspect something bad is happening with buffering and pipes on
> Windows or something.  Has anyone else observed a sudden drop off in
> svndumpfilter performance?

I'd like to blame Windows, but chances are pretty good that
svndumpfilter is the culprit.  Try this patch and see if fixes your
problem.

Index: subversion/svndumpfilter/main.c
===================================================================
--- subversion/svndumpfilter/main.c	(revision 8682)
+++ subversion/svndumpfilter/main.c	(working copy)
@@ -389,7 +389,7 @@
         }
       else
         {
-          nb->do_skip = ary_exact_match (pb->dropped_nodes, copyfrom_path);
+          nb->do_skip = ary_prefix_match (pb->prefixes, copyfrom_path);
         }
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org