]> arthur.barton.de Git - bup.git/commit
save: handle backup write errors properly
authorBrandon Low <lostlogic@lostlogicx.com>
Wed, 12 Jan 2011 01:15:53 +0000 (17:15 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 18 Jan 2011 20:36:59 +0000 (12:36 -0800)
commit76343e4b2d17d653d5f1dfd1068117aaa53d76d0
tree98cccd511f1d5b344bb3c209c6aeca0557c86e59
parente3c618794267817c2f7ec981c733834a603f99dc
save: handle backup write errors properly

bup-save was catching all IOErrors and treating them as data-read
failures, but some of them could be backup-write errors.  Have git.py
and client.py raise distinctive errors when pack write raises IOError.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
lib/bup/client.py
lib/bup/git.py