diff options
author | Joey Hess <joey@kitenet.net> | 2014-10-28 15:54:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-10-28 15:54:44 -0400 |
commit | 39dd5a2ac3b2371a250667624a67e9272f4724fa (patch) | |
tree | fea31def3cc1aea8b0f53aa0474bf39405e527da /Remote/GCrypt.hs | |
parent | 886ba31c382240d02cb3f682b1d69cc3d514e407 (diff) |
improve uuid mismatch message
Diffstat (limited to 'Remote/GCrypt.hs')
-rw-r--r-- | Remote/GCrypt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/GCrypt.hs b/Remote/GCrypt.hs index 995c3e8389..9aa70d57e6 100644 --- a/Remote/GCrypt.hs +++ b/Remote/GCrypt.hs @@ -202,7 +202,7 @@ gCryptSetup mu _ c = go $ M.lookup "gitrepo" c method <- setupRepo gcryptid =<< inRepo (Git.Construct.fromRemoteLocation gitrepo) gitConfigSpecialRemote u c' "gcrypt" (fromAccessMethod method) return (c', u) - else error $ "uuid mismatch " ++ show (u, mu, gcryptid) + else error $ "uuid mismatch; expected " ++ show mu ++ " but remote gitrepo has " ++ show u ++ " (" ++ show gcryptid ++ ")" {- Sets up the gcrypt repository. The repository is either a local - repo, or it is accessed via rsync directly, or it is accessed over ssh |