cloudant/couch_replicator — pull request #22 by rnewson (2013-03-03 10:26:45+00:00)
Title: Don't add undefined stats to body

We missed this somehow. Until a replication completes, the rep_doc does not get _replication_stats. CouchDB has a guard clause to remove undefined values, this patch restores it.