mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 19:43:45 +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. |
||
---|---|---|
.. | ||
file1.txt | ||
file2.txt | ||
file5L.txt | ||
file5R.txt | ||
file6.txt | ||
file7.txt | ||
file10.txt | ||
file11.txt |