lib/ohloh_scm/adapters/cvs/commits.rb in ohloh_scm-2.4.6 vs lib/ohloh_scm/adapters/cvs/commits.rb in ohloh_scm-2.4.7

- old
+ new

@@ -62,10 +62,10 @@ def open_log_file(opts={}) after = opts[:after] begin ensure_host_key return if has_lock? - run "cvsnt -d #{self.url} rlog #{opt_branch} #{opt_time(after)} '#{self.module_name}' | #{ string_encoder } > #{rlog_filename}" + popen("cvsnt -d #{self.url} rlog #{opt_branch} #{opt_time(after)} '#{self.module_name}' | #{ string_encoder }", rlog_filename) File.open(rlog_filename, 'r') do |file| yield file end ensure File.delete rlog_filename if FileTest.exists?(rlog_filename)