/[rdiff-backup]/rdiff-backup/rdiff_backup/Rdiff.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/Rdiff.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by bescoto, Tue Nov 1 16:46:29 2005 UTC revision 1.15 by bescoto, Fri Nov 4 22:41:13 2005 UTC
# Line 55  def get_delta_sigrp(rp_signature, rp_new Line 55  def get_delta_sigrp(rp_signature, rp_new
55    
56  def get_delta_sigrp_hash(rp_signature, rp_new):  def get_delta_sigrp_hash(rp_signature, rp_new):
57          """Like above but also calculate hash of new as close() value"""          """Like above but also calculate hash of new as close() value"""
58          log.Log("Getting delta with hash of %s with signature %s" %          log.Log("Getting delta (with hash) of %s with signature %s" %
59                          (rp_new.path, rp_signature.get_indexpath()), 7)                          (rp_new.path, rp_signature.get_indexpath()), 7)
60          return librsync.DeltaFile(rp_signature.open("rb"),          return librsync.DeltaFile(rp_signature.open("rb"),
61                                                            hash.FileWrapper(rp_new.open("rb")))                                                            hash.FileWrapper(rp_new.open("rb")))

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26