couchbase/sync_gateway — pull request #505 by ajres (2014-11-17 14:24:10+00:00)
Title: Added check for nil body in ImmutableAttachmentsCopy()

fixes issue #454

All existing tests pass if revision_cache.go Get returns a copy of the revision body using ImmutableAttachmentsCopy(), once the check for the input body being null is added.