This commit is contained in:
Joey Hess 2018-03-06 12:22:50 -04:00
parent ea0501e868
commit f668510754
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2018-03-06T16:08:23Z"
content="""
When I try this with ssh remotes, which should act the same as external
special remotes as far as git-annex get behavior is concerned,
git-annex get moves on to the next remote that has the file when the first
one fails.
I think the difference might come down to the handling of the failed
PREPARE. That throws an exception, so terminates the get action for that
file.
Indeed, there are quite a few `giveup` in Remote/External.hs, and while
some of them are reasonable exceptions to throw, it needs an audit for ones
that throw an exception when there's a better way to indicate failure like
return False.
"""]]