aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch-git.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-04-13 23:38:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commitf2f08e0758243a820fe47128ffabaa474c0e86e7 (patch)
tree45563c74dbbf7a0f546443b469a23541c9ac9b00 /tests/rep-fetch-git.test
parente958b63712f9a0ff4b523765d2fe12b58aa97fe0 (diff)
Implement git repository handling transition (phase 0)
Diffstat (limited to 'tests/rep-fetch-git.test')
-rw-r--r--tests/rep-fetch-git.test32
1 files changed, 25 insertions, 7 deletions
diff --git a/tests/rep-fetch-git.test b/tests/rep-fetch-git.test
index 1dbea3f..4b2a597 100644
--- a/tests/rep-fetch-git.test
+++ b/tests/rep-fetch-git.test
@@ -6,6 +6,17 @@
# the final states. See tests/common/git/init script for more details.
#
+reason_dumb = ' (dumb HTTP)'
+reason_unadv = ' (unadvertised commit)'
+
+warn_dumb='
+warning: fetching over dumb HTTP, no progress will be shown'
+
+warn_repo_hist = "warning: fetching whole repository history"
+warn_ref_hist = "warning: fetching whole reference history"
+
+warn = '%.{0}' # None.
+
test.cleanups += &cfg/.bpkg/repos/*/***
+if ($git_protocol == 'local')
@@ -33,25 +44,32 @@ else
rep_git = "$rep"
end
-: branch
+: none
+:
+{
+ fragment = ''
+ .include rep-fetch-git-refname.test
+}
+
+: refname
:
{
- branch = 'master'
- .include rep-fetch-git-branch.test
+ refname = '#master'
+ .include rep-fetch-git-refname.test
}
: ltag
:
{
- branch = 'ltag'
- .include rep-fetch-git-branch.test
+ fragment = '#ltag'
+ .include rep-fetch-git-refname.test
}
: atag
:
{
- branch = 'atag'
- .include rep-fetch-git-branch.test
+ fragment = '#atag'
+ .include rep-fetch-git-refname.test
}
: commit