summaryrefslogtreecommitdiff
path: root/Command/Import.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-06-03 13:15:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-06-03 13:15:38 -0400
commita3569d07d1ba51bcf2fb75dbfa97ae999f43b803 (patch)
tree523ee247040b4b4b8d3fe3a372289a4e2027ba55 /Command/Import.hs
parent2ec66372940a29de91e3650651362ae862120ea4 (diff)
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.
Diffstat (limited to 'Command/Import.hs')
-rw-r--r--Command/Import.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Import.hs b/Command/Import.hs
index fffa301ec..acf3bc01f 100644
--- a/Command/Import.hs
+++ b/Command/Import.hs
@@ -144,4 +144,4 @@ verifiedExisting key destfile = do
(remotes, trusteduuids) <- knownCopies key
untrusteduuids <- trustGet UnTrusted
let tocheck = Remote.remotesWithoutUUID remotes (trusteduuids++untrusteduuids)
- verifyEnoughCopies [] key need trusteduuids [] tocheck
+ verifyEnoughCopies [] key need [] trusteduuids tocheck