The git-annex-backend attribute has been renamed to annex.backend.

This commit is contained in:
Joey Hess 2010-11-28 18:58:03 -04:00
parent 9d82e815ff
commit ca32c7859b
5 changed files with 9 additions and 8 deletions

View file

@ -151,7 +151,7 @@ chooseBackends :: [FilePath] -> Annex [(FilePath, Maybe Backend)]
chooseBackends fs = do
g <- Annex.gitRepo
bs <- Annex.supportedBackends
pairs <- liftIO $ Git.checkAttr g "git-annex-backend" fs
pairs <- liftIO $ Git.checkAttr g "annex.backend" fs
return $ map (\(f,b) -> (f, maybeLookupBackendName bs b)) pairs
{- Returns the backend to use for a key. -}