lib/braid/command.rb in norbert-braid-0.4.12 vs lib/braid/command.rb in norbert-braid-0.4.13

- old
+ new

@@ -33,10 +33,14 @@ def config @config ||= load_and_migrate_config end private + def use_local_cache? + Braid.use_local_cache + end + def self.verify_git_version! git.require_version!(REQUIRED_GIT_VERSION) end def bail_on_local_changes! @@ -106,10 +110,10 @@ end new_revision end - def determine_target_commit(mirror, new_revision) + def determine_target_revision(mirror, new_revision) unless mirror.type == "svn" git.rev_parse(new_revision) else git_svn.commit_hash(mirror.remote, new_revision) end