projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f65de4
)
add a hint about syncing when unable to determine remote uuid
author
Joey Hess
<joeyh@joeyh.name>
Thu, 15 Oct 2015 19:23:48 +0000
(15:23 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 15 Oct 2015 19:23:48 +0000
(15:23 -0400)
syncing gets the uuid in passing..
Remote.hs
patch
|
blob
|
history
diff --git
a/Remote.hs
b/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