Fix wording of message displayed when unable to get a file that is available in untrusted repositories.
This commit is contained in:
parent
3abb775855
commit
23d2519be1
4 changed files with 9 additions and 5 deletions
|
@ -156,7 +156,7 @@ notEnoughCopies key need have skip bad = do
|
|||
show (length have) ++ " out of " ++ show (fromNumCopies need) ++
|
||||
" necessary copies"
|
||||
Remote.showTriedRemotes bad
|
||||
Remote.showLocations key (have++skip)
|
||||
Remote.showLocations True key (have++skip)
|
||||
"Rather than dropping this file, try using: git annex move"
|
||||
hint
|
||||
return False
|
||||
|
|
|
@ -79,7 +79,7 @@ getKeyFile' key afile dest = dispatch
|
|||
( docopy r witness <||> trycopy full rs witness
|
||||
, trycopy full rs witness
|
||||
)
|
||||
showlocs = Remote.showLocations key []
|
||||
showlocs = Remote.showLocations False key []
|
||||
"No other repository is known to contain the file."
|
||||
-- This check is to avoid an ugly message if a remote is a
|
||||
-- drive that is not mounted.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue