Only update a document's _id and _rev if the save was successful.
Only update a document's _id and _rev if the save was successful.

Thanks Jason Davies.



git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@793218 13f79535-47bb-0310-9956-ffa450edef68

apache/couchdb-futon,apache/couchdb-futon