From 0250151979a0746b5f97af15e2ef36f679c0d562 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 5 Jun 2012 14:19:14 -0400 Subject: Add a dummy replicate/3 for now Conflicts: apps/couch/src/couch_rep.erl --- apps/couch/src/couch_rep.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/couch/src/couch_rep.erl b/apps/couch/src/couch_rep.erl index 1aade18f..c7d09283 100644 --- a/apps/couch/src/couch_rep.erl +++ b/apps/couch/src/couch_rep.erl @@ -15,9 +15,8 @@ -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). --export([replicate/2, checkpoint/1]). +-export([replicate/2, replicate/3, checkpoint/1]). -export([make_replication_id/2]). --export([start_replication/3, end_replication/1, get_result/4]). -include("couch_db.hrl"). -include("couch_js_functions.hrl"). @@ -57,6 +56,9 @@ target_db_update_notifier = nil }). +replicate(A, B, _C) -> + replicate(A, B). + %% convenience function to do a simple replication from the shell replicate(Source, Target) when is_list(Source) -> replicate(?l2b(Source), Target); -- cgit v1.2.3