proper fix for dropunused

Now getKeysPresent checks that the key's content, not only its directory,
exists. In direct mode, the inode cache file is used as a standin for the
content.

removeAnnex always removes the inode cache file, and drop and move --from
always call removeAnnex, even if the object does not seem to be inAnnex,
to ensure it's always deleted.
This commit is contained in:
Joey Hess 2013-02-15 17:58:49 -04:00
parent 55069f0fab
commit 397082013a
4 changed files with 30 additions and 13 deletions

View file

@ -66,3 +66,5 @@ Debian: sid 2013-02-01
> actual key files are present (it just lists the directories).
> But this seems to be needed, since direct mode can leave
> cache and mapping files behind. --[[Joey]]
>> Now fixed properly. [[done]] --[[Joey]]