VFS: Unbreak behavior for rename+hydrate #7001
authorChristian Kamm <mail@ckamm.de>
Thu, 7 Mar 2019 13:35:39 +0000 (14:35 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:44 +0000 (10:58 +0100)
commit0cf19123a7867b64c61f1db8b21514f4a7119b3e
tree4666668fc7ba7b2809b67801ea11bd7120883292
parent4346567a032584682709db11693eb6d1f4edb91c
VFS: Unbreak behavior for rename+hydrate #7001

Users can rename a file *and* add/remove the vfs suffix at the same time
leading to very complex sync actions. This patch doesn't add support for
them, but adds tests and makes sure these cases do not cause unintened
behavior.

The rename will be propagated, but the users's hydrate/dehydrate request
will be ignored.
src/libsync/discovery.cpp
src/libsync/propagateremotemove.cpp
test/testsyncvirtualfiles.cpp