From 90042749e8fe4b934ee4bf6f385e3d664834a4d8 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Tue, 10 Jul 2018 10:22:51 -0500 Subject: fetch: remove 'trying' when cloning repos (#8651) * fetch: remove 'trying' when cloning repos This makes it similar to what the URL strategy prints. * change svn/hg names --- lib/spack/docs/getting_started.rst | 2 +- lib/spack/spack/fetch_strategy.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 09ae4b5ec3..bba4d37214 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -805,7 +805,7 @@ encountered on a Macintosh during ``spack install julia-master``: .. code-block:: console - ==> Trying to clone git repository: + ==> Cloning git repository: https://github.com/JuliaLang/julia.git on branch master Cloning into 'julia'... diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py index 423cccbb0b..d1c6f607b3 100644 --- a/lib/spack/spack/fetch_strategy.py +++ b/lib/spack/spack/fetch_strategy.py @@ -542,7 +542,7 @@ class GoFetchStrategy(VCSFetchStrategy): @_needs_stage def fetch(self): - tty.msg("Trying to get go resource:", self.url) + tty.msg("Getting go resource:", self.url) with working_dir(self.stage.path): try: @@ -641,7 +641,7 @@ class GitFetchStrategy(VCSFetchStrategy): elif self.branch: args = 'on branch %s' % self.branch - tty.msg("Trying to clone git repository: %s %s" % (self.url, args)) + tty.msg("Cloning git repository: %s %s" % (self.url, args)) git = self.git if self.commit: @@ -788,7 +788,7 @@ class SvnFetchStrategy(VCSFetchStrategy): tty.msg("Already fetched %s" % self.stage.source_path) return - tty.msg("Trying to check out svn repository: %s" % self.url) + tty.msg("Checking out subversion repository: %s" % self.url) args = ['checkout', '--force', '--quiet'] if self.revision: @@ -894,7 +894,7 @@ class HgFetchStrategy(VCSFetchStrategy): args = [] if self.revision: args.append('at revision %s' % self.revision) - tty.msg("Trying to clone Mercurial repository:", self.url, *args) + tty.msg("Cloning mercurial repository:", self.url, *args) args = ['clone'] -- cgit v1.2.3-60-g2f50