import --clean-duplicates: Fix bug that didn't count local or trusted repo's copy of a file as one of the necessary copies to allow removing it from the import location.

This commit is contained in:
Joey Hess 2015-06-03 13:15:38 -04:00
parent b8f044660f
commit de3bd11a2c
4 changed files with 8 additions and 2 deletions

View file

@ -95,7 +95,7 @@ verifyEnoughCopies
:: String -- message to print when there are no known locations
-> Key
-> NumCopies
-> [UUID] -- repos to skip (generally untrusted remotes)
-> [UUID] -- repos to skip considering (generally untrusted remotes)
-> [UUID] -- repos that are trusted or already verified to have it
-> [Remote] -- remotes to check to see if they have it
-> Annex Bool