couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbast...@apache.org
Subject [3/5] couch-replicator commit: updated refs/heads/master to c9184cf
Date Fri, 31 Oct 2014 19:53:12 GMT
Update handle_changes function names


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/59a2f2bd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/59a2f2bd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/59a2f2bd

Branch: refs/heads/master
Commit: 59a2f2bd6c5693a81f42db21b7407cf185b2be5d
Parents: f195535
Author: Benjamin Bastian <benjamin.bastian@gmail.com>
Authored: Fri Aug 29 17:25:06 2014 +0700
Committer: Benjamin Bastian <benjamin.bastian@gmail.com>
Committed: Thu Oct 30 13:29:56 2014 -0700

----------------------------------------------------------------------
 src/couch_replicator_api_wrap.erl | 2 +-
 src/couch_replicator_manager.erl  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/59a2f2bd/src/couch_replicator_api_wrap.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_api_wrap.erl b/src/couch_replicator_api_wrap.erl
index d739c8c..89c7eb7 100644
--- a/src/couch_replicator_api_wrap.erl
+++ b/src/couch_replicator_api_wrap.erl
@@ -502,7 +502,7 @@ changes_since(Db, Style, StartSeq, UserFun, Options) ->
     },
     QueryParams = get_value(query_params, Options, {[]}),
     Req = changes_json_req(Db, Filter, QueryParams, Options),
-    ChangesFeedFun = couch_changes:handle_changes(Args, {json_req, Req}, Db),
+    ChangesFeedFun = couch_changes:handle_db_changes(Args, {json_req, Req}, Db),
     ChangesFeedFun(fun({change, Change, _}, _) ->
             UserFun(json_to_doc_info(Change));
         (_, _) ->

http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/59a2f2bd/src/couch_replicator_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_manager.erl b/src/couch_replicator_manager.erl
index 19406e2..d6c88c1 100644
--- a/src/couch_replicator_manager.erl
+++ b/src/couch_replicator_manager.erl
@@ -296,7 +296,7 @@ changes_reader(Server, DbName, Since) ->
     UserCtx = #user_ctx{roles = [<<"_admin">>, <<"_replicator">>]},
     DbOpenOptions = [{user_ctx, UserCtx}, sys_db],
     {ok, Db} = couch_db:open_int(DbName, DbOpenOptions),
-    ChangesFeedFun = couch_changes:handle_changes(
+    ChangesFeedFun = couch_changes:handle_db_changes(
         #changes_args{
             include_docs = true,
             since = Since,


Mime
View raw message