You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2010/07/25 14:36:52 UTC
svn commit: r979033 -
/couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
Author: fdmanana
Date: Sun Jul 25 12:36:52 2010
New Revision: 979033
URL: http://svn.apache.org/viewvc?rev=979033&view=rev
Log:
Add missing component to form a replication ID.
Modified:
couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
Modified: couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl?rev=979033&r1=979032&r2=979033&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl Sun Jul 25 12:36:52 2010
@@ -425,7 +425,12 @@ make_replication_id(Source, Target, User
Base = [HostName, Src, Tgt] ++
case couch_util:get_value(filter, Options) of
undefined ->
- [];
+ case couch_util:get_value(doc_ids, Options) of
+ undefined ->
+ [];
+ DocIds ->
+ [DocIds]
+ end;
Filter ->
[Filter, couch_util:get_value(query_params, Options, {[]})]
end,