aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch-git-commit.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-09 18:55:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-09 18:55:57 +0300
commit0305f819cfa249df47ba5e78d87a4a501a58da70 (patch)
tree4c71749d38f30912da94620bc68e25de9ec70ae7 /tests/rep-fetch-git-commit.testscript
parent43627fb7ede30a0f8f42657222b803c83de50b6f (diff)
Print information messages instead of warnings prior to git repository deep/dumb fetching
Diffstat (limited to 'tests/rep-fetch-git-commit.testscript')
-rw-r--r--tests/rep-fetch-git-commit.testscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/rep-fetch-git-commit.testscript b/tests/rep-fetch-git-commit.testscript
index fd406e1..1122978 100644
--- a/tests/rep-fetch-git-commit.testscript
+++ b/tests/rep-fetch-git-commit.testscript
@@ -19,16 +19,16 @@
$clone_root_cfg && $rep_add "$rep/state0/style-basic.git#$commit";
if ($git_protocol == 'https-dumb')
- warn = "$warn_repo_hist$reason_dumb$warn_dumb"
+ info = "$info_repo_hist$reason_dumb$info_dumb"
elif ($git_protocol != 'https-smart-unadv')
- warn = "$warn_repo_hist$reason_unadv"
+ info = "$info_repo_hist$reason_unadv"
end;
$* 2>>~"%EOE%"
%fetching git:.+style-basic#$commit%
%querying .+style-basic\.git%?
%fetching from .+style-basic\.git%
- $warn
+ $info
1 package\(s\) in 1 repository\(s\)
EOE
}
@@ -39,16 +39,16 @@
$clone_root_cfg && $rep_add "$rep/state0/style-basic.git#stable@$commit";
if ($git_protocol == 'https-dumb')
- warn = "$warn_ref_hist$reason_dumb$warn_dumb"
+ info = "$info_ref_hist$reason_dumb$info_dumb"
elif ($git_protocol != 'https-smart-unadv')
- warn = "$warn_ref_hist$reason_unadv"
+ info = "$info_ref_hist$reason_unadv"
end;
$* 2>>~"%EOE%"
%fetching git:.+style-basic#stable@$commit%
%querying .+style-basic\.git%?
%fetching from .+style-basic\.git%
- $warn
+ $info
1 package\(s\) in 1 repository\(s\)
EOE
}
@@ -61,7 +61,7 @@
set commit
+if ($git_protocol == 'https-dumb')
- warn = "$warn_ref_hist$reason_dumb$warn_dumb"
+ info = "$info_ref_hist$reason_dumb$info_dumb"
end
: no-refname
@@ -74,7 +74,7 @@
%querying .+style-basic\.git%?
%fetching from .+style-basic.\git%
%querying .+style-basic\.git%?
- $warn
+ $info
1 package\(s\) in 1 repository\(s\)
EOE
}
@@ -89,7 +89,7 @@
%querying .+style-basic\.git%?
%fetching from .+style-basic\.git%
%querying .+style-basic\.git%?
- $warn
+ $info
1 package\(s\) in 1 repository\(s\)
EOE
}