aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__/comment_1_447c9cf5e9e137238fb2c662a54ee2d7._comment
blob: 1d5af193c9270a7703bd83447bab51119d944576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.
"""]]