handle upgrading repositories initialized with --version=9
authorJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 20:13:46 +0000 (16:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 20:23:09 +0000 (16:23 -0400)
commit0d2e3058ee01d55dc3b929ddf8e0573a95a2ca85
tree660f5a19998d2675728effc97d1a9c323f8947f8
parent63cef2ae0b4069050fe43b14cd1656fbc843b9a4
handle upgrading repositories initialized with --version=9

There is nothing in upgrade.log because it was never upgraded to version
9. Before, it would have never autoupgraded to 10, but it's entirely
safe to upgrade to 10 immediately.

Of course, annex.autoupgraderepository = false will prevent that
upgrade. So if someone for some reason really wants v9, they can set
that. I can't think of a reason someone would actually want v9 rather
than v10 though.

Sponsored-by: k0ld on Patreon
Upgrade/V9.hs