Was checking the wrong uuid, oops
let keysize = fromMaybe 0 (fromKey keySize key)
let hasspace u = case (M.lookup u maxsizes, M.lookup u sizemap) of
(Just (MaxSize maxsize), Just (RepoSize reposize)) ->
- if maybe False (`S.member` notpresent) mu
+ if u `S.member` notpresent
then reposize <= maxsize
else reposize + keysize <= maxsize
_ -> True
* `git-annex info` can use maxsize to display how full repositories are
-* --rebalance is not stable. It will drop a key that was just stored in a
- repo. Seems that limitFullyBalanced needs to take AssumeNotPresent
- into account to handle dropping correctly.
-
* Implement [[track_free_space_in_repos_via_git-annex_branch]]:
* Load Annex.reposizes from Database.RepoSizes on startup.