Monotone-Parent: 3ec2e0f99bbf37c3d347f65454edef902b376d18

Monotone-Revision: 3c3f676520d5f154730079c576d8ffde515851cd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-11-30T14:48:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-11-30 14:48:50 +00:00
1 parent f9c8deb0b5
commit c78ad98742
2 files changed
+10 -2

No files matched your search

+3 -2
View File
@@ -213,9 +213,10 @@ NSString *SOGoDefaultsSourceUnmutableSource = @"SOGoDefaultsSourceUnmutableSourc
{
newName = [migratedKeys objectForKey: oldName];
existingValue = [source objectForKey: newName];
if (existingValue)
if (existingValue && ![existingValue isEqual: currentValue])
[self errorWithFormat: @"both old and new defaults key"
@" '%@' '%@' exist. Migration skipped.", oldName, newName];
@" ('%@' and '%@') exist with a different value."
@" Migration skipped.", oldName, newName];
else
{
requireSync = YES;