EBookBackendFile: Avoid lost data in contact modifications
authorTristan Van Berkom <tristanvb@openismus.com>
Thu, 24 Jan 2013 05:57:03 +0000 (14:57 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Tue, 29 Jan 2013 07:15:23 +0000 (16:15 +0900)
commit448c00e6498ab935183e17b4e9266115e4de1d71
tree29accb6d13a7393ff4737a3e1f955058ad289cc2
parent83fdfd58acf7132148d5fbe61d66fd3a07f61d5f
EBookBackendFile: Avoid lost data in contact modifications

When modifying contacts, ensure that the contact revisions are in
sync with the existing ones, otherwise report the E_DATA_BOOK_STATUS_OUT_OF_SYNC
error. This indicates that the client should refresh it's local copy
of the contact before trying to modify it again.

Conflicts:

addressbook/backends/file/e-book-backend-file.c
addressbook/backends/file/e-book-backend-file.c