summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_sync_--content_may_copy_then_drop_a_file_to_a_remote.mdwn
blob: 3ec60cacf5067f055b8c08cb571ef0d1cc99a174 (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
30
31
32
33
### Please describe the problem.

When using `git annex sync --content` with two archive with different cost, git annex will upload my file to the first archive, then to the second one, then it will drop it from the first one.

### What steps will reproduce the problem?

I've set both remote to "trusted", both in the "archive" group, both with "standard" preferred content, the remote named "hubic2" as an annex-cost of 200.0, and the remote named "hubic3" as an annex-cost of 175.0

### What version of git-annex are you using? On what operating system?
I'm using git-annex 5.20141125 on Debian Sid (upgraded today on November 7 2014).

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

$ git annex list | head
here
|hubic2
||hubic3
|||
X__ Avatars/archer.jpg
$ git annex sync --content
commit  ok
copy Avatars/archer.jpg copy Avatars/archer.jpg (to hubic3...)
ok
copy Avatars/archer.jpg copy Avatars/archer.jpg (to hubic2...)
ok
drop hubic3 Avatars/archer.jpg ok

# End of transcript or log.
"""]]