Merge branch 'master' into watch
This commit is contained in:
commit
727158ff55
11 changed files with 93 additions and 22 deletions
|
@ -15,6 +15,7 @@ import qualified Remote
|
|||
import qualified Logs.Remote
|
||||
import qualified Types.Remote as R
|
||||
import Annex.UUID
|
||||
import Logs.UUID
|
||||
|
||||
def :: [Command]
|
||||
def = [command "initremote"
|
||||
|
@ -60,6 +61,7 @@ findByName name = do
|
|||
where
|
||||
generate = do
|
||||
uuid <- liftIO genUUID
|
||||
describeUUID uuid name
|
||||
return (uuid, M.insert nameKey name M.empty)
|
||||
|
||||
findByName' :: String -> M.Map UUID R.RemoteConfig -> Maybe (UUID, R.RemoteConfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue