summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Annex.hs b/Annex.hs
index b6834d6dd..2bd090e90 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -23,7 +23,7 @@ import GitQueue
import Types.Backend
import Types.Remote
import Types.Crypto
-import Types.Branch
+import Types.BranchState
import TrustLevel
import Types.UUID
@@ -40,8 +40,7 @@ data AnnexState = AnnexState
, quiet :: Bool
, force :: Bool
, fast :: Bool
- , branchupdated :: Bool
- , branchcache :: BranchCache
+ , branchstate :: BranchState
, forcebackend :: Maybe String
, forcenumcopies :: Maybe Int
, defaultkey :: Maybe String
@@ -62,8 +61,7 @@ newState allbackends gitrepo = AnnexState
, quiet = False
, force = False
, fast = False
- , branchupdated = False
- , branchcache = emptyBranchCache
+ , branchstate = startBranchState
, forcebackend = Nothing
, forcenumcopies = Nothing
, defaultkey = Nothing