diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnDx6KWBl4PpP7qikNB7rp0hK_UvwQq_L0 <@web> | 2014-11-05 16:50:58 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-11-05 16:50:58 +0000 |
commit | 2a68238c2ad88c33882dd05976a2b3d2664a2c1b (patch) | |
tree | e61ffb23b1d3b5d43c4d1f47e400135b13221737 /doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn | |
parent | 8634cc5e2dfcdf9586463f12da9d79c4b354cb2c (diff) |
Diffstat (limited to 'doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn')
-rw-r--r-- | doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn b/doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn new file mode 100644 index 000000000..4a7ac821a --- /dev/null +++ b/doc/bugs/Assistant_drops_files_from_remote_repos_that_it_shouldn__39__t.mdwn @@ -0,0 +1,37 @@ +### Please describe the problem. + +git-annex assistant starts to drop files in remote repos, even when they are set to manual. + +### What steps will reproduce the problem? + + +Create 3 repos: + +* A -- standard, archive +* m1 -- standard, manual +* m2 -- standard, manual + +System has 3 files annexed: file1, file2, file3. Repo "A" has all three files, m1 has none, m2 has file3. + +So, while in m1: + + m1 $ git annex find --want-drop --in m2 + file3 + +file3 shouln't be dropped from m2. There is no reason to do this. m2 is set as manual, and it shouldn't be touched in any case. + +Now, let's get this file in m1: + + m1 $ git annex get file3 + get file3 (from m2...) ok + (Recording state in git...) + m1 $ git annex find --want-drop --in m2 + +So when 'file3' is present in local repo, it's not going to be dropped from m2. + +I guess that rule 'present' works in local repo context while 'drop' acts on remote files. + + +### What version of git-annex are you using? On what operating system? + +I'm using latest version in Debian Jessie (5.20141024). |