lib/braid/commands/setup.rb in norbert-braid-0.4.13 vs lib/braid/commands/setup.rb in norbert-braid-0.5.1
- old
+ new
@@ -15,14 +15,14 @@
def setup_one(path)
mirror = config.get!(path)
if git.remote_url(mirror.remote)
- msg "Mirror '#{mirror.path}/' already has a remote. Skipping."
+ msg "Setup: Mirror '#{mirror.path}' already has a remote. Reusing it." if verbose?
return
end
- msg "Setting up remote for '#{mirror.path}/'."
+ msg "Setup: Creating remote for '#{mirror.path}'."
unless mirror.type == "svn"
url = use_local_cache? ? git_cache.path(mirror.url) : mirror.url
git.remote_add(mirror.remote, url, mirror.branch)
else
git_svn.init(mirror.remote, mirror.url)