Fixed.
authorueno <ueno>
Tue, 22 Jan 2008 22:39:41 +0000 (22:39 +0000)
committerueno <ueno>
Tue, 22 Jan 2008 22:39:41 +0000 (22:39 +0000)
find-changes-by-mia

index 5a32f1b..392b52b 100755 (executable)
@@ -1,14 +1,14 @@
 #!/usr/bin/env ruby
 
 file, rev, author, state = nil, nil, nil, :F
-mia_committers = ARGV
+mia_authors = ARGV
 IO.popen('cvs log') do |io|
   io.each_line do |line|
     line.chomp!
     case line
     when /\A-+\z/
       state = :R
-      if rev && author && mia_committers.include?(author)
+      if rev && author && mia_authors.include?(author)
         prev_rev = rev.sub(/\d+\z/) {|s| (s.to_i - 1).to_s}
         puts("cvs diff -r #{prev_rev} -r #{rev} #{File.basename(file)}")
       end