]> git.michaelhowe.org Git - packages/b/bup.git/commit
cmd/save: when a file is chunked, mangle its name from * to *.bup
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 23 Apr 2010 19:39:24 +0000 (15:39 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 23 Apr 2010 19:50:30 +0000 (15:50 -0400)
commit5645ca9755e640b6a0e7e5c0f79603d6bffdb16e
tree201fdf50b2a9ccefa890626fa388bf8d9922e514
parent08faabbeffab8b03fbc9a16704abf2869f60a7c2
cmd/save: when a file is chunked, mangle its name from * to *.bup

Files that are already named *.bup are renamed to *.bup.bupl, so that we can
just always drop either .bup or .bupl from a filename if it's there, and the
result will be the original filename.

Also updated lib/bup/vfs.py to demangle the names appropriately, and treat
git trees named *.bup as real chunked files (ie. by joining them back
together).
cmd/save-cmd.py
lib/bup/git.py
lib/bup/helpers.py
lib/bup/vfs.py
t/tgit.py