diff options
Diffstat (limited to 'rdiff-backup/src/destructive_stepping.py')
-rw-r--r-- | rdiff-backup/src/destructive_stepping.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rdiff-backup/src/destructive_stepping.py b/rdiff-backup/src/destructive_stepping.py index e03adff..60fc4e9 100644 --- a/rdiff-backup/src/destructive_stepping.py +++ b/rdiff-backup/src/destructive_stepping.py @@ -199,7 +199,7 @@ class DSRPath(RPath): return self.__class__(self.source, self.conn, self.base, index) -class DestructiveSteppingFinalizer(ErrorITR): +class DestructiveSteppingFinalizer(ITRBranch): """Finalizer that can work on an iterator of dsrpaths The reason we have to use an IterTreeReducer is that some files @@ -215,6 +215,12 @@ class DestructiveSteppingFinalizer(ErrorITR): def end_process(self): if self.dsrpath: self.dsrpath.write_changes() + def can_fast_process(self, index, dsrpath): + return not self.dsrpath.isdir() + + def fast_process(self, index, dsrpath): + if self.dsrpath: self.dsrpath.write_changes() + from log import * from robust import * |