lib/autoproj/ops/snapshot.rb in autoproj-2.0.0.rc9 vs lib/autoproj/ops/snapshot.rb in autoproj-2.0.0.rc10

- old
+ new

@@ -89,18 +89,18 @@ @ignore_errors = options[:ignore_errors] end def snapshot_package_sets(target_dir = nil, options = Hash.new) options = Kernel.validate_options options, - local: true + only_local: true result = Array.new manifest.each_package_set do |pkg_set| next if pkg_set.local? vcs_info = - begin pkg_set.snapshot(target_dir, local: options[:local]) + begin pkg_set.snapshot(target_dir, only_local: options[:only_local]) rescue Exception => e error_or_warn(pkg_set, e) next end @@ -128,11 +128,11 @@ end end def snapshot_packages(packages, target_dir = nil, options = Hash.new) options = Kernel.validate_options options, - local: true + only_local: true result = Array.new packages.each do |package_name| package = manifest.packages[package_name] if !package @@ -146,10 +146,10 @@ error_or_warn(package, "cannot snapshot #{package_name} as the #{importer.class} importer does not support it") next end vcs_info = - begin importer.snapshot(package.autobuild, target_dir, local: options[:local]) + begin importer.snapshot(package.autobuild, target_dir, only_local: options[:only_local]) rescue Exception => e error_or_warn(package, e) next end