Skip to content
Snippets Groups Projects
Commit 90042749 authored by Matthias Diener's avatar Matthias Diener Committed by Adam J. Stewart
Browse files

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
parent 00c3331d
No related branches found
No related tags found
No related merge requests found
...@@ -805,7 +805,7 @@ encountered on a Macintosh during ``spack install julia-master``: ...@@ -805,7 +805,7 @@ encountered on a Macintosh during ``spack install julia-master``:
.. code-block:: console .. code-block:: console
==> Trying to clone git repository: ==> Cloning git repository:
https://github.com/JuliaLang/julia.git https://github.com/JuliaLang/julia.git
on branch master on branch master
Cloning into 'julia'... Cloning into 'julia'...
......
...@@ -542,7 +542,7 @@ def go(self): ...@@ -542,7 +542,7 @@ def go(self):
@_needs_stage @_needs_stage
def fetch(self): 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): with working_dir(self.stage.path):
try: try:
...@@ -641,7 +641,7 @@ def fetch(self): ...@@ -641,7 +641,7 @@ def fetch(self):
elif self.branch: elif self.branch:
args = 'on branch %s' % 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 git = self.git
if self.commit: if self.commit:
...@@ -788,7 +788,7 @@ def fetch(self): ...@@ -788,7 +788,7 @@ def fetch(self):
tty.msg("Already fetched %s" % self.stage.source_path) tty.msg("Already fetched %s" % self.stage.source_path)
return 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'] args = ['checkout', '--force', '--quiet']
if self.revision: if self.revision:
...@@ -894,7 +894,7 @@ def fetch(self): ...@@ -894,7 +894,7 @@ def fetch(self):
args = [] args = []
if self.revision: if self.revision:
args.append('at revision %s' % 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'] args = ['clone']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment