couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r988493 - /couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
Date Tue, 24 Aug 2010 11:43:46 GMT
Author: fdmanana
Date: Tue Aug 24 11:43:46 2010
New Revision: 988493

URL: http://svn.apache.org/viewvc?rev=988493&view=rev
Log:
New replicator: avoid logging user credentials in a DB's URL when logging checkpoint info.

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=988493&r1=988492&r2=988493&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl Tue Aug 24 11:43:46 2010
@@ -405,8 +405,8 @@ init_state({BaseId, _Ext} = RepId, Src, 
     State = #rep_state{
         rep_id = RepId,
         rep_options = Options,
-        source_name = Src,
-        target_name = Tgt,
+        source_name = couch_api_wrap:db_uri(Source),
+        target_name = couch_api_wrap:db_uri(Target),
         source = Source,
         target = Target,
         history = History,



Mime
View raw message