summaryrefslogtreecommitdiff
path: root/Remote/Bup.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-18 20:11:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-18 20:11:39 -0400
commitdd463a3100f21d72c35ca1af5b0f63f6296cf322 (patch)
tree048aa1402eb5b3717706cb97863f823904dec44e /Remote/Bup.hs
parentd78b9f7d546bd4f13349e01777d5dd45fc01b0af (diff)
rework annex-ignore handling
Only one place need to filter the list of remotes for ignored remotes: keyPossibilities. Make the full list available to everything else. This allows getting rid of the special case handing for --from and --to to make ignored remotes not be ignored with those options.
Diffstat (limited to 'Remote/Bup.hs')
-rw-r--r--Remote/Bup.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs
index ebb4b10a5..29c7a0419 100644
--- a/Remote/Bup.hs
+++ b/Remote/Bup.hs
@@ -66,7 +66,8 @@ gen r u c = do
removeKey = remove,
hasKey = checkPresent r bupr',
hasKeyCheap = bupLocal buprepo,
- config = c
+ config = c,
+ repo = r
}
bupSetup :: UUID -> RemoteConfig -> Annex RemoteConfig