couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r979033 - /couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
Date Sun, 25 Jul 2010 12:36:52 GMT
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,



Mime
View raw message