You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/10/19 13:46:02 UTC

svn commit: r465583 - /spamassassin/trunk/masses/rule-qa/automc/gen_info_xml

Author: jm
Date: Thu Oct 19 04:45:58 2006
New Revision: 465583

URL: http://svn.apache.org/viewvc?view=rev&rev=465583
Log:
ah, much better; just don't provide 'svn log' info, who-checked-in and commit-message details, for changes after 500 revisions ago.  speeds up the process of getting mass-checks onto the ruleqa website by quite a lot

Modified:
    spamassassin/trunk/masses/rule-qa/automc/gen_info_xml

Modified: spamassassin/trunk/masses/rule-qa/automc/gen_info_xml
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/automc/gen_info_xml?view=diff&rev=465583&r1=465582&r2=465583
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/gen_info_xml (original)
+++ spamassassin/trunk/masses/rule-qa/automc/gen_info_xml Thu Oct 19 04:45:58 2006
@@ -4,6 +4,11 @@
 # need this to ensure that 'svn log' will include ALL changes
 my $svn_checkins_root = "http://svn.apache.org/repos/asf/spamassassin/";
 
+# we won't provide who-checked-in and commit-message details for changes
+# older than this.  Note, this is not in rev number terms; it's an
+# absolute count of revisions.
+my $svn_log_limit = 500;
+
 my $full_rebuild = 0;
 if ($ARGV[0] && $ARGV[0] =~ /^-f/) {
   $full_rebuild = 1;
@@ -159,7 +164,7 @@
 
 sub get_svn_log {
   print "getting svn log... (".time.")\n";
-  if (open (IN, "svn log --xml $svn_checkins_root |")) {
+  if (open (IN, "svn log --limit $svn_log_limit --xml $svn_checkins_root |")) {
     eval {
       my $xml = join('', <IN>);
       $svn_log = XMLin($xml);