diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-15 20:13:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-15 20:13:35 -0400 |
commit | dc748c7336aea9cbf04c0311098a44c2b329633d (patch) | |
tree | 1a993dd9662ff046b74a427232b8e301500a97b8 /Assistant/XMPP/Git.hs | |
parent | 60c4bcefd4d3001e7025fc59c1f7ab927a3a5c34 (diff) |
reinit: New command that can initialize a new reposotory using the configuration of a previously known repository. Useful if a repository got deleted and you want to clone it back the way it was.
Diffstat (limited to 'Assistant/XMPP/Git.hs')
-rw-r--r-- | Assistant/XMPP/Git.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/XMPP/Git.hs b/Assistant/XMPP/Git.hs index ab34dce1e..36ada5c08 100644 --- a/Assistant/XMPP/Git.hs +++ b/Assistant/XMPP/Git.hs @@ -74,7 +74,7 @@ makeXMPPGitRemote :: String -> JID -> UUID -> Assistant Bool makeXMPPGitRemote buddyname jid u = do remote <- liftAnnex $ addRemote $ makeGitRemote buddyname $ gitXMPPLocation jid - liftAnnex $ storeUUID (remoteConfig (Remote.repo remote) "uuid") u + liftAnnex $ storeUUIDIn (remoteConfig (Remote.repo remote) "uuid") u liftAnnex $ void remoteListRefresh remote' <- liftAnnex $ fromMaybe (error "failed to add remote") <$> Remote.byName (Just buddyname) |