Is it possible to resolve conflicts caused by database replication entirely within CouchDB? I know it has its own internal algorithm for deciding which revision to use, but can an application register a custom javascript function to deal with conflicts in an application-specific way?
The CouchDB guide and wiki both seem only to suggest using external application code to resolve conflicts.