]> arthur.barton.de Git - bup.git/commit
cmd-save: completely reimplement using the indexfile.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 10 Jan 2010 03:43:48 +0000 (22:43 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 10 Jan 2010 06:11:09 +0000 (01:11 -0500)
commitc713babd495deb051aad90c73caf38353d69b015
treea72086082f5f7ef1ba527467f8c4a4096431b4a8
parent13dd24e40b550e5f46cfa34e7a5a51b5040fd94a
cmd-save: completely reimplement using the indexfile.

'bup save' no longer walks the filesystem: instead it walks the indexfile
(which is much faster) and doesn't bother opening any files that haven't had
an attribute change, since it can just reuse their sha1 from before.  That
makes it *much* faster in the common case.
cmd-index.py
cmd-save.py
git.py
index.py
t/tindex.py [new file with mode: 0644]