add a hint about syncing when unable to determine remote uuid

syncing gets the uuid in passing..
This commit is contained in:
Joey Hess 2015-10-15 15:23:48 -04:00
parent 1f65de4085
commit 8c54069980
Failed to extract signature

View file

@ -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