c3d40b9ec3
Each command that first checks preferred content (and/or required content) and then does something that can change the sizes of repositories needs to call prepareLiveUpdate, and plumb it through the preferred content check and the location log update. So far, only Command.Drop is done. Many other commands that don't need to do this have been updated to keep working. There may be some calls to NoLiveUpdate in places where that should be done. All will need to be double checked. Not currently in a compilable state.
17 lines
431 B
Haskell
17 lines
431 B
Haskell
{-# LANGUAGE CPP #-}
|
|
|
|
module Annex.Common (module X) where
|
|
|
|
import Common as X
|
|
import Types as X
|
|
import Key as X
|
|
import Types.UUID as X
|
|
import Annex as X (gitRepo, inRepo, fromRepo, calcRepo, calcRepo')
|
|
import Annex.Locations as X
|
|
import Annex.Debug as X (fastDebug, debug)
|
|
import Messages as X
|
|
import Git.Quote as X
|
|
import Types.RepoSize as X
|
|
#ifndef mingw32_HOST_OS
|
|
import System.Posix.IO as X hiding (createPipe, append)
|
|
#endif
|