daleharvey/pouchdb — pull request #970 by caolan (2013-10-24 22:58:21+00:00)
Title: Get existing checkpoint doc _rev before writing to avoid conflicts

When replicating from CouchDB to IndexedDB I was getting document update conflicts on the _local docs used to store replication checkpoints. Getting the existing doc to ensure we update based on the existing _rev fixes this issue.