bug with git annex sync --content and achive

This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw 2014-11-07 11:17:50 +00:00 committed by admin
parent 9f6ac9f5a6
commit 7234032d2e

View file

@ -0,0 +1,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.
"""]]