diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-10 13:11:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-10 13:32:38 -0400 |
commit | 07cacbeee95b377e1bf4111e4d4b30190956c585 (patch) | |
tree | 17249f177a6ffde3d2f524ee66a9a6b2530bd92e /Command.hs | |
parent | 0d5c4022105a393a4eac76b09940f8b22fa0a56c (diff) |
break module dependancy loop
A PITA but worth it to clean up the trust configuration code.
Diffstat (limited to 'Command.hs')
-rw-r--r-- | Command.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command.hs b/Command.hs index 82d6429bf..386efafde 100644 --- a/Command.hs +++ b/Command.hs @@ -26,13 +26,13 @@ import Common.Annex import qualified Backend import qualified Annex import qualified Git +import qualified Remote import Types.Command as ReExported import Types.Option as ReExported import Seek as ReExported import Checks as ReExported import Usage as ReExported import Logs.Trust -import Logs.Location import Config {- Generates a normal command -} @@ -110,5 +110,5 @@ autoCopies key vs numcopiesattr a = Annex.getState Annex.auto >>= auto auto False = a auto True = do needed <- getNumCopies numcopiesattr - (_, have) <- trustPartition UnTrusted =<< keyLocations key + (_, have) <- trustPartition UnTrusted =<< Remote.keyLocations key if length have `vs` needed then a else stop |