aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/prematurely___40__can__39__t_check_offline__41___marks_remote_as_annex-ignore.mdwn
blob: 41e573dda293b53b472fd9cdde46a93c7d440854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
### Please describe the problem.

I have cloned via http and then went offline... decided to get a file, annex immediately tried to fetch it from origin which it couldn't have access to atm and marked it as annex-ignore.  IMHO it is a bit premature action, and annex should mark a remote as ignore only if it managed to reach the remote location and discovered that it has no annex there, not on a mere connectivity fluke


### What version of git-annex are you using? On what operating system?

6.20160425+gitgffe2ea2-1~ndall+1

### Please provide any additional information below.

[[!format sh """
$> git annex get cond001.txt
(merging origin/git-annex into git-annex...)
(recording state in git...)
get cond001.txt 
  Remote origin not usable by git-annex; setting annex-ignore
(not available) 
  Try making some of these repositories available:
  	899f0347-0888-48ef-91b6-bac213ca8cef -- datalad-archives
   	c8bd3d05-33d4-4b59-9d53-ca7efbdcdd13 -- yoh@smaug:/mnt/btrfs/datasets/datalad/crawl/openfmri/ds000001
failed
(recording state in git...)
git-annex: get: 1 failed
"""]]

[[!meta author=yoh]]

> [[fixed|done]] --[[Joey]]