dovecot-2.2: doveadm backup: Fix to earlier commit - don't try t...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 2 09:48:51 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/8aea6edb29d3
changeset: 17860:8aea6edb29d3
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 02 12:48:00 2014 +0300
description:
doveadm backup: Fix to earlier commit - don't try to delete an already empty mailbox.
diffstat:
src/doveadm/dsync/dsync-mailbox-import.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r c02918434721 -r 8aea6edb29d3 src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c Thu Oct 02 12:31:34 2014 +0300
+++ b/src/doveadm/dsync/dsync-mailbox-import.c Thu Oct 02 12:48:00 2014 +0300
@@ -1407,7 +1407,8 @@
looking it up locally. */
return;
}
- if (importer->revert_local_changes)
+ if (importer->revert_local_changes &&
+ importer->local_uid_next > 1)
dsync_mailbox_revert_missing(importer, change);
else if (change->guid == NULL ||
!dsync_mailbox_find_common_expunged_uid(importer, change)) {
More information about the dovecot-cvs
mailing list