From: ueno Date: Tue, 22 Jan 2008 22:39:41 +0000 (+0000) Subject: Fixed. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6afb682321809020ec8dbb34dbafe160fa93c7a4;p=elisp%2Fepg.git Fixed. --- diff --git a/find-changes-by-mia b/find-changes-by-mia index 5a32f1b..392b52b 100755 --- a/find-changes-by-mia +++ b/find-changes-by-mia @@ -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