diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-07-10 14:20:37 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-07-10 14:20:37 -0400 |
commit | f4bf8c91b24369b20c43dc69e90e0e77364d8f52 (patch) | |
tree | e8fb7c58197ed5be96c7a4a7d6253e684d040cfd /doc/todo/export | |
parent | f2ba13f7cfbf2cc63d2815d5216836c2691a86d6 (diff) |
note
Diffstat (limited to 'doc/todo/export')
-rw-r--r-- | doc/todo/export/comment_5_e5ac435b73818d9002f5ada84062e933._comment | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/export/comment_5_e5ac435b73818d9002f5ada84062e933._comment b/doc/todo/export/comment_5_e5ac435b73818d9002f5ada84062e933._comment new file mode 100644 index 000000000..037754881 --- /dev/null +++ b/doc/todo/export/comment_5_e5ac435b73818d9002f5ada84062e933._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 5""" + date="2017-07-10T18:15:02Z" + content=""" +Using trees like that would not work well in a distributed setting +where two repositories could be storing content on the same special remote. + +The per-remote trees could be stored, by eg grafting them into the +git-annex branches's tree under the uuid of the special remote. + +But, there could then be merge conflicts, when different trees have been +exported to the same special remote concurrently. And there's no way to +resolve such a merge: If repo A uploaded F containing K and B uploaded F +containing L, we don't know which file the special remote ended up with. +If that happened it would have to delete and re-export from scratch. + +I think it's fine for exporting to only be able to be done from one +repository. But, if a user tries to do the above, it needs to fail in some +reasonable way, not leave a mess. +"""]] |