removed a few debug Info statements
diff --git a/cmd/get_imports.go b/cmd/get_imports.go index e8543ea..9cadddd 100644 --- a/cmd/get_imports.go +++ b/cmd/get_imports.go
@@ -193,7 +193,7 @@ if err != nil { return false } - Info("Repo not found %s, checking local\n", dep.Name) + return repo.CheckLocal() } @@ -239,7 +239,6 @@ if empty == false && err == v.ErrCannotDetectVCS { Warn("%s appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.\n", dep.Name) } else { - Info("About to GetRepo %s\n", dest) repo, err := dep.GetRepo(dest) // Tried to checkout a repo to a path that does not work. Either the
diff --git a/cmd/recursive_glide.go b/cmd/recursive_glide.go index da1fa95..9e76eb5 100644 --- a/cmd/recursive_glide.go +++ b/cmd/recursive_glide.go
@@ -96,14 +96,13 @@ // We don't use the global var to find vendor dir name because the // user may mis-use that var to modify the local vendor dir, and // we don't want that to break the embedded vendor dirs. - Info("Found something to import: %s\n", imp.Name) wd := path.Join(base, "vendor", imp.Name) vdir := path.Join(base, "vendor") if err := ensureDir(wd); err != nil { Warn("Skipped getting %s (vendor/ error): %s\n", imp.Name, err) continue } - Info("\n\nBefore Vcs Exists\n\n") + if VcsExists(imp, wd) { Info("Updating project %s (%s)\n", imp.Name, wd) if err := VcsUpdate(imp, vdir, force); err != nil {