anchor.diff:          Doc = couch_doc_open(Db, DocId, Rev, Options2),
           send_doc(Req, Doc, Options2);
       _ ->
  -        {ok, Results} = fabric:open_revs(Db, DocId, Revs, Options),
  -        case Results of
  -            [] when Revs == all ->
  +        case fabric:open_revs(Db, DocId, Revs, Options) of
  +            {ok, []} when Revs == all ->
                   chttpd:send_error(Req, {not_found, missing});
  -            _Else ->
  +            {ok, Results} ->
                   case MochiReq:accepts_content_type("multipart/mixed") of
                   false ->
                       {ok, Resp} = start_json_response(Req, 200),
  
positive.code:                     end_json_response(Resp);
                  true ->
                      send_docs_multipart(Req, Results, Options)
                  end
          end
      end;
  
  
negative.code:         Rev ->
              case fabric:open_revs(Db, DocId, [Rev], [{user_ctx,Ctx}]) of
              {ok, [{ok, Doc0}]}  -> Doc0;
              {ok, [Error]}       -> throw(Error);
              {error, Error}      -> throw(Error)
              end
      end,
  
  