migrate: support adding size back to URL keys
authorJoey Hess <joeyh@joeyh.name>
Fri, 8 Dec 2023 20:22:14 +0000 (16:22 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 8 Dec 2023 20:22:14 +0000 (16:22 -0400)
commit86dbe9a825b9c615c63e0cfc5e4a737a249f8989
treef0cf21902dab798bf0aa88567f62a9a2b13ed19c
parentcb9bb2027c2e7c3f7fea4ef29a8d4eedd0a6b3f0
migrate: support adding size back to URL keys

migrate: Support adding size to URL keys that were added with --relaxed, by
running eg: git-annex migrate --backend=URL foo

Since url keys cannot be generated, that used to fail. Make it notice that
the backend is not changed, and just get the size of the content.

Sponsored-by: Brock Spratlen on Patreon
Annex/Content.hs
Annex/Content/Presence.hs
CHANGELOG
Command/Migrate.hs
doc/git-annex-migrate.mdwn