Commit ab8e36db authored by bescoto's avatar bescoto

To prevent future regress problems, only touch curmirror if time sets correctly


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@573 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent e59c00b9
...@@ -295,8 +295,8 @@ def Backup(rpin, rpout): ...@@ -295,8 +295,8 @@ def Backup(rpin, rpout):
backup_set_select(rpin) backup_set_select(rpin)
backup_warn_if_infinite_regress(rpin, rpout) backup_warn_if_infinite_regress(rpin, rpout)
if prevtime: if prevtime:
rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
Time.setprevtime(prevtime) Time.setprevtime(prevtime)
rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
backup.Mirror_and_increment(rpin, rpout, incdir) backup.Mirror_and_increment(rpin, rpout, incdir)
rpout.conn.Main.backup_remove_curmirror_local() rpout.conn.Main.backup_remove_curmirror_local()
else: else:
......
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