From 0305f819cfa249df47ba5e78d87a4a501a58da70 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 9 Aug 2019 18:55:57 +0300 Subject: Print information messages instead of warnings prior to git repository deep/dumb fetching --- tests/rep-fetch-git-commit.testscript | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/rep-fetch-git-commit.testscript') 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 } -- cgit v1.1