# File lib/hammer_cli_import/importtools.rb, line 75 def with_synced_repo(repo, &block) # So we can not give empty block if block_given? action = block else action = proc {} end if repo_synced?(repo) action.call else uuid = sync_repo2 repo postpone_till([uuid], &action) if option_wait? end end