From 7234032d2e6f8c6176d60e0da8252290eb0dbc09 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw" Date: Fri, 7 Nov 2014 11:17:50 +0000 Subject: [PATCH] bug with git annex sync --content and achive --- ...may_copy_then_drop_a_file_to_a_remote.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/bugs/git_annex_sync_--content_may_copy_then_drop_a_file_to_a_remote.mdwn diff --git a/doc/bugs/git_annex_sync_--content_may_copy_then_drop_a_file_to_a_remote.mdwn b/doc/bugs/git_annex_sync_--content_may_copy_then_drop_a_file_to_a_remote.mdwn new file mode 100644 index 0000000000..3ec60cacf5 --- /dev/null +++ b/doc/bugs/git_annex_sync_--content_may_copy_then_drop_a_file_to_a_remote.mdwn @@ -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. +"""]]