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
This commit is contained in:
Matthias Diener 2018-07-10 10:22:51 -05:00 committed by Adam J. Stewart
parent 00c3331de9
commit 90042749e8
2 changed files with 5 additions and 5 deletions

View file

@ -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'...

View file

@ -542,7 +542,7 @@ def go(self):
@_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 @@ def fetch(self):
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 @@ def fetch(self):
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 @@ def fetch(self):
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']