diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-01 16:46:29 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-01 16:46:29 +0000 |
commit | dc634cd890ddea26ffe292c01e6ec53636262afc (patch) | |
tree | 9622c641ab726b5a1386d8bb6138bfcde5f427cd /rdiff-backup/rdiff_backup/Rdiff.py | |
parent | 07d8d9cb11114ef5f98993e2e50a67762b3d9aaa (diff) | |
download | rdiff-backup-dc634cd890ddea26ffe292c01e6ec53636262afc.tar.gz |
Compare sha1 hashes when restoring
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@666 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Rdiff.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Rdiff.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/Rdiff.py b/rdiff-backup/rdiff_backup/Rdiff.py index f183141..3ed589d 100644 --- a/rdiff-backup/rdiff_backup/Rdiff.py +++ b/rdiff-backup/rdiff_backup/Rdiff.py @@ -87,6 +87,9 @@ def patch_local(rp_basis, rp_delta, outrp = None, delta_compressed = None): file (librsync may need to seek around in it). If outrp is None, patch rp_basis instead. + The return value is the close value of the delta, so it can be + used to produce hashes. + """ assert rp_basis.conn is Globals.local_connection if delta_compressed: deltafile = rp_delta.open("rb", 1) |