such as "foo (bar or baz)", which was incorrectly handled as if
it were "(foo or bar) and baz)" rather than the intended
"foo and (bar or baz)"
+ * get: Improve output when failing to get a file fails.
-- Joey Hess <id@joeyh.name> Thu, 28 Jan 2021 12:34:32 -0400
where
dispatch [] = do
showNote "not available"
- showlocs
+ showlocs []
return False
dispatch remotes = notifyTransfer Download afile $ \witness -> do
ok <- pickRemote remotes $ \r -> ifM (probablyPresent r)
then return ok
else do
Remote.showTriedRemotes remotes
- showlocs
+ showlocs (map Remote.uuid remotes)
return False
- showlocs = Remote.showLocations False key []
+ showlocs exclude = Remote.showLocations False key exclude
"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.