From 9833743eb9b8e2b9cf3b1badb68bf616cb135b29 Mon Sep 17 00:00:00 2001
From: dev <dev@welterde.de>
Date: Sat, 24 Oct 2009 16:00:37 +0000
Subject: [PATCH] clean up codeswarm script

---
 codeswarm-extractor.rb | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/codeswarm-extractor.rb b/codeswarm-extractor.rb
index 6353390143..45d2a3796a 100755
--- a/codeswarm-extractor.rb
+++ b/codeswarm-extractor.rb
@@ -34,15 +34,6 @@ roots.each do |root|
     revs << rev
   end
 end
-#while roots.size > 0 do
-#  rev = roots.pop
-#  revs << rev
-#  next unless rev.class == String
-#  results = `mtn automate children #{rev}`.split("\n").map {|n| n.strip}
-#  results.each do |rev|
-#    roots << rev
-#  end if results.size > 0
-#end
 
 # open the file
 f=File::open('/tmp/i2p.xml', 'w')
@@ -72,7 +63,6 @@ revs.each do |rev|
   puts author
   info.each do |line|
     next unless line
-    #f << "<event date=\"#{DateTime.parse(date).to_time.to_i*1000}\" filename=\"#{line[1].strip[1..-2]}\" author=\"#{MAPPING[author] or author[1..-2]}\" />\n" if line[0].strip == "patch"
     d << [date, line[1].strip[1..-2], (MAPPING[author] or author[1..-2])] if line[0].strip == "patch"
   end
 end
-- 
GitLab