66c94579fd42e3ca294497152ba2bb7665a6c831
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 1"""
4  date="2020-10-23T16:50:31Z"
5  content="""
6 So this is the testremote of the directory special remote, and the failing
7 test tries to store content into the remote which already contains that
8 content, an unusual edge case since git-annex normally knows when a remote
9 has content and avoids resending it.
10
11 Remote.Directory.finalizeStoreGeneric removes the old directory, and moves
12 the new one into place. This is not the first time I've seen windows fail
13 in such a situation, it seems that directory removals are not atomic, or
14 don't really fully finish by the time the call returns, or something else
15 like antivirus has a file open in the directory and so prevents deletion.
16 Or something like that.
17
18 This kind of thing is why I am not enthused about wasting any more time
19 on supporting Windows. `rm -rf foo && mv bar foo` should not cause a bug report
20 that requires me to dig out a VM and put in complex and expensive
21 workarounds. The tar pit has no bottom.
22
23 (Also, FWIW, git-annex test on the jenkins autobuilder always exploded from
24 the very beginning, so was always || true, which is why the windows install
25 page encourages windows users to test git-annex themselves.)
26 """]]