From: Joey Hess Date: Thu, 15 Oct 2015 19:23:48 +0000 (-0400) Subject: add a hint about syncing when unable to determine remote uuid X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~326^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8c5406998036b4f535524c38a3777b0d3c5e0667;p=git-annex.git add a hint about syncing when unable to determine remote uuid syncing gets the uuid in passing.. --- diff --git a/Remote.hs b/Remote.hs index c38262a33c..f24b2e9782 100644 --- a/Remote.hs +++ b/Remote.hs @@ -142,7 +142,7 @@ byNameOnly n = headMaybe . filter matching <$> remoteList matching r = n == name r noRemoteUUIDMsg :: Remote -> String -noRemoteUUIDMsg r = "cannot determine uuid for " ++ name r +noRemoteUUIDMsg r = "cannot determine uuid for " ++ name r ++ " (perhaps you need to run \"git annex sync\"?)" {- Looks up a remote by name (or by UUID, or even by description), - and returns its UUID. Finds even repositories that are not