I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 9833743e authored by dev's avatar dev
Browse files

clean up codeswarm script

parent ac65bc73
No related branches found
No related tags found
No related merge requests found
...@@ -34,15 +34,6 @@ roots.each do |root| ...@@ -34,15 +34,6 @@ roots.each do |root|
revs << rev revs << rev
end end
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 # open the file
f=File::open('/tmp/i2p.xml', 'w') f=File::open('/tmp/i2p.xml', 'w')
...@@ -72,7 +63,6 @@ revs.each do |rev| ...@@ -72,7 +63,6 @@ revs.each do |rev|
puts author puts author
info.each do |line| info.each do |line|
next unless 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" d << [date, line[1].strip[1..-2], (MAPPING[author] or author[1..-2])] if line[0].strip == "patch"
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment