summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Diener <matthias.diener@gmail.com>2018-07-10 10:22:51 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-07-10 10:22:51 -0500
commit90042749e8fe4b934ee4bf6f385e3d664834a4d8 (patch)
tree7f2c2220bb8fb79e792fb1f308c5f115062bf03c /lib
parent00c3331de92ca33e0783b0b80786832de0ecdc66 (diff)
downloadspack-90042749e8fe4b934ee4bf6f385e3d664834a4d8.tar.gz
spack-90042749e8fe4b934ee4bf6f385e3d664834a4d8.tar.bz2
spack-90042749e8fe4b934ee4bf6f385e3d664834a4d8.tar.xz
spack-90042749e8fe4b934ee4bf6f385e3d664834a4d8.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/getting_started.rst2
-rw-r--r--lib/spack/spack/fetch_strategy.py8
2 files changed, 5 insertions, 5 deletions
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']