diff options
author | 2013-05-03 16:34:10 +0000 | |
---|---|---|
committer | 2013-05-03 16:34:10 +0000 | |
commit | 1745d21508d7d2067a47d802ea64d4a0d4b31568 (patch) | |
tree | cd012fb5c21672b9b6be6ac83b55256b44189f6f /doc/special_remotes/bup | |
parent | cd0c70ec6b1a170db9612fd9f5cadb28ff938dac (diff) |
Added a comment
Diffstat (limited to 'doc/special_remotes/bup')
-rw-r--r-- | doc/special_remotes/bup/comment_9_ca7096a759961af375e6bd49663b45b3._comment | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/special_remotes/bup/comment_9_ca7096a759961af375e6bd49663b45b3._comment b/doc/special_remotes/bup/comment_9_ca7096a759961af375e6bd49663b45b3._comment new file mode 100644 index 000000000..d6021f764 --- /dev/null +++ b/doc/special_remotes/bup/comment_9_ca7096a759961af375e6bd49663b45b3._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlsXhOlsW6RaGR83VNSMxPh159l5dFau70" + nickname="Yung-Chin" + subject="comment 9" + date="2013-05-03T16:34:05Z" + content=""" +Thinking about this some more, a very elegant way to make a bup remote could actually be to just pass the whole .git/annex tree into bup-index/save (you could avoid sending some files by only bup-indexing select subtrees, or by using --exclude-*'s, but you'd run bup-save over the whole .git/annex tree). You could then use bup-restore to retrieve files or whole subtrees, and you'd refer to the files you're retrieving by their actual pathname under which they live in .git/annex (if that doesn't make sense it's because I've misunderstood how git-annex is organised!), so something like \"bup restore branch_name/latest/.git/annex/aa/bb/sha-of-some-sort\" would work - that's cute, right? And you'd only have 1 branch. + +However... somebody who is good with lazy-evaluation would need to rework bup.vfs: currently, if you'd call bup-restore on a path like that, it would instantiate a _lot_ of vfs-nodes you don't need - to begin with, it would make a node for every commit you ever made (on any branch!) - on a big repository you'd wait ages for it to just find the commit objects... +"""]] |