Support using v3 repositories without upgrading them to v5.

An easy change now that supportedVersions is a list. Since v3 and v5 are
identical other than version number, just add v3 to the list.

This commit was sponsored by andrea rota.
This commit is contained in:
Joey Hess 2016-10-05 16:29:32 -04:00
parent f867fc157f
commit 933bc5c917
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
6 changed files with 69 additions and 1 deletions

View file

@ -22,7 +22,7 @@ latestVersion :: Version
latestVersion = "6"
supportedVersions :: [Version]
supportedVersions = ["5", "6"]
supportedVersions = ["3", "5", "6"]
versionForAdjustedClone :: Version
versionForAdjustedClone = "6"