group, ungroup: New commands to indicate groups of repositories.

This commit is contained in:
Joey Hess 2012-10-01 15:12:04 -04:00
parent cf858190a5
commit 2a96b1aab3
10 changed files with 174 additions and 0 deletions

View file

@ -45,6 +45,7 @@ import qualified Types.Remote
import Types.Crypto
import Types.BranchState
import Types.TrustLevel
import Types.Group
import Types.Messages
import Utility.State
import qualified Utility.Matcher
@ -92,6 +93,7 @@ data AnnexState = AnnexState
, shared :: Maybe SharedRepository
, forcetrust :: TrustMap
, trustmap :: Maybe TrustMap
, groupmap :: Maybe GroupMap
, ciphers :: M.Map StorableCipher Cipher
, lockpool :: M.Map FilePath Fd
, flags :: M.Map String Bool
@ -118,6 +120,7 @@ newState gitrepo = AnnexState
, shared = Nothing
, forcetrust = M.empty
, trustmap = Nothing
, groupmap = Nothing
, ciphers = M.empty
, lockpool = M.empty
, flags = M.empty