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/08/24 13:43:46 UTC
svn commit: r988493 -
/couchdb/branches/new_replicator/src/couchdb/couch_replicate.erl
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,