diff options
author | Adam Kocoloski <adam@cloudant.com> | 2012-06-05 14:19:14 -0400 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2012-06-18 15:26:06 +0100 |
commit | 0250151979a0746b5f97af15e2ef36f679c0d562 (patch) | |
tree | 89976c2836630eb18cc2930b38c6f73d78dbd1b7 | |
parent | 0ad1f99f63e19fe4843a619675039f5d3024883e (diff) |
Add a dummy replicate/3 for now
Conflicts:
apps/couch/src/couch_rep.erl
-rw-r--r-- | apps/couch/src/couch_rep.erl | 6 |
1 files 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); |