Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing the truth



Nick, All:

On 27/01/2008, at 6:49 AM, Nick Zitzmann wrote:


On Jan 25, 2008, at 10:39 PM, Glen Low wrote:

It appears there is no public API for "pushing the truth", despite Sync Services documentation mentioning this particular mode. Or am I missing something?

There isn't.

So how does one push the truth, i.e. replace the entire truth database with records from the client e.g. as if restoring from a backup? How does iSync and other tools do this?


The method that pushes the truth is private. You can, however, do a slow sync, which is almost the same as pushing the truth. The only difference between the two is the pull phase is skipped during push- the-truth syncs, whereas it's not on slow syncs.

During the slow sync "simulation-of-push-the-truth", can I simply skip the pull phase in my code, or will Sync Services attempt to pull stuff down during the next sync?


Should I do a refresh sync instead which at least avoids pulling down deletes?




Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com aim: pixglen

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Pushing the truth (From: Glen Low <email@hidden>)
 >Re: Pushing the truth (From: Nick Zitzmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.