lib/ohloh_scm/adapters/cvs/commits.rb in ohloh_scm-2.4.8 vs lib/ohloh_scm/adapters/cvs/commits.rb in ohloh_scm-2.4.9
- old
+ new
@@ -61,10 +61,10 @@
# That's better than missing revisions completely! Just be sure to check for duplicates.
def open_log_file(opts={})
after = opts[:after]
begin
ensure_host_key
- return if has_lock?
+ has_lock!
run("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