tree-wide: Replace archive-z2 with archive

In almost all places. There are just a few exceptions; one tricky bit for
example is that the repo config must still have `mode=archive-z2`, since
`archive` used to mean something else. (We could very likely just get rid of
that check, but eh, later).

I also added a test that one can still do `ostree repo init --mode=archive-z2`.

Closes: #1125
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-09-01 20:54:12 +00:00
1 parent f07432d4ce
commit 88b25dc65c
57 files changed
+85 -78

No files matched your search

+1 -1
View File
@@ -3631,7 +3631,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
}
/* We can't use static deltas if pulling into an archive-z2 repo. */
/* We can't use static deltas if pulling into an archive repo. */
if (self->mode == OSTREE_REPO_MODE_ARCHIVE_Z2)
{
if (pull_data->require_static_deltas)