couchbase/sync_gateway — pull request #470 by adamcfraser (2014-10-23 18:46:28+00:00)
Title: Add doc id to oldDoc for ease-of-use in sync function

Add the doc id to oldDoc by prepending id property to incoming oldJson byte array.