renamings to make clean when old-format logs are being used
This commit is contained in:
parent
fd304dce60
commit
9887a378fe
17 changed files with 56 additions and 57 deletions
|
@ -24,9 +24,9 @@ trustSet :: UUID -> TrustLevel -> Annex ()
|
|||
trustSet uuid@(UUID _) level = do
|
||||
c <- liftIO currentVectorClock
|
||||
Annex.Branch.change trustLog $
|
||||
buildLog buildTrustLevel .
|
||||
buildLogOld buildTrustLevel .
|
||||
changeLog c uuid level .
|
||||
parseLog trustLevelParser
|
||||
parseLogOld trustLevelParser
|
||||
Annex.changeState $ \s -> s { Annex.trustmap = Nothing }
|
||||
trustSet NoUUID _ = error "unknown UUID; cannot modify"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue