mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 11:06:55 +08:00
e71b252b65
Before this change, Bisync did not check to make sure that Path1 and Path2 do not overlap, nor did it check for overlaps with `--backup-dir`. While `sync` does check for these things, it can sometimes be fooled because of the way Bisync calls it with `--files-from` filters. Relying on sync could also leave a run in a half-finished state if it were to error in one direction but not the other (`--backup-dir` only checks for overlaps with the dest.) After this change, Bisync does its own check up front, so we can quickly return an error and exit before any changes are made. |
||
---|---|---|
.. | ||
backupdirs | ||
_testdir_path1.._testdir_path2.copy1to2.que | ||
_testdir_path1.._testdir_path2.copy2to1.que | ||
_testdir_path1.._testdir_path2.delete1.que | ||
_testdir_path1.._testdir_path2.delete2.que | ||
_testdir_path1.._testdir_path2.path1.lst-err | ||
_testdir_path1.._testdir_path2.path1.lst-new | ||
_testdir_path1.._testdir_path2.path1.lst-old | ||
_testdir_path1.._testdir_path2.path2.lst-err | ||
_testdir_path1.._testdir_path2.path2.lst-new | ||
_testdir_path1.._testdir_path2.path2.lst-old | ||
test.log |