Commit 40e578f8 authored by bescoto's avatar bescoto

Remember to delete the old diff now that we have snapshot


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@681 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 204ddb56
......@@ -126,6 +126,11 @@ def regress_rbdir(meta_manager):
if new_rp.getincbase_str() != 'current_mirror':
log.Log("Deleting old diff at " + new_rp.path, 5)
new_rp.delete()
for rp in meta_manager.timerpmap[regress_time]:
if (rp.getincbase_str() == 'mirror_metadata' and
rp.getinctype() == 'diff'):
rp.delete()
break
def recreate_meta(meta_manager):
"""Make regress_time mirror_metadata snapshot by patching
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment