anchor.diff:          {invalid_design_doc, _Reason} = Error ->
               throw(Error)
       end;
  -
  -update_doc(#db{name = <<"_replicator">>}, Doc, _Options) ->
  -    xdc_rdoc_replication_srv:update_doc(Doc);
  -
  -update_doc(#db{filepath = undefined, name=Name} = Db,
  -           #doc{id=DocId} = Doc, Options) ->
  -    R = attempt(Name, DocId,
  -                capi_crud, update_doc, [Db, Doc, Options]),
  -    case R of
  -        ok ->
  -            ok;
  -        unsupported ->
  -            not_implemented(update_doc, [Db, Doc, Options]);
  -        Error ->
  -            %% rpc transforms exceptions into values; need to rethrow them
  -            throw(Error)
  -    end.
  +update_doc(_Db, _Doc, _Options) ->
  +    throw(not_found).
  +
   
   update_docs(Db,
               [#doc{id = <<?LOCAL_DOC_PREFIX, _Rest/binary>>} = Doc],
  
positive.code:     couch_db:start_compact(Db).
  
  cleanup_view_index_files(Db) ->
      couch_view:cleanup_index_files(Db).
  
  get_group_info(#db{filepath = undefined} = Db, DesignId) ->
      with_subdb(Db, <<"master">>,
                 fun (RealDb) ->
  
negative.code: -include("ns_common.hrl").
  -include("mc_entry.hrl").
  -include("mc_constants.hrl").
  
  not_implemented(Arg, Rest) ->
      {not_implemented, Arg, Rest}.
  