Conflicts: Upload them files if env variable says so
authorChristian Kamm <mail@ckamm.de>
Mon, 18 Sep 2017 08:23:20 +0000 (10:23 +0200)
committerckamm <mail@ckamm.de>
Tue, 19 Sep 2017 09:45:38 +0000 (11:45 +0200)
commit53195b064a6552022c60f20197417abbcf48a3d8
tree32168543f651f5cd237be99cbc424a1f1d0db041
parentdca266470752076e8a8969072dc7153d9a760808
Conflicts: Upload them files if env variable says so

Set OWNCLOUD_UPLOAD_CONFLICT_FILES=1 to trigger this behavior.

Note that this is experimental and unsupported. The real feature is
likely to end up in 2.5.

Uploading conflict files is simply done by removing the pattern from
csync_exclude. The rest here deals with making the conflict notification
ui approximately work.

There are still some concerns about where an uploaded conflict file
appears in the sync protocol and issues list (it should be in both, but
is only in one of them currently!).

See #4557.
src/common/utility.cpp
src/common/utility.h
src/csync/csync_exclude.cpp
src/csync/csync_update.cpp
src/libsync/syncengine.cpp