add a hint about syncing when unable to determine remote uuid
authorJoey Hess <joeyh@joeyh.name>
Thu, 15 Oct 2015 19:23:48 +0000 (15:23 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 15 Oct 2015 19:23:48 +0000 (15:23 -0400)
syncing gets the uuid in passing..

Remote.hs

index c38262a33cea146ad8ad8603163aec5c47182333..f24b2e9782055aa1dc213b38e63df18bc8c4f1c0 100644 (file)
--- 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