couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1040481 - /couchdb/branches/new_replicator/src/couchdb/couch_changes.erl
Date Tue, 30 Nov 2010 12:19:14 GMT
Author: fdmanana
Date: Tue Nov 30 12:19:14 2010
New Revision: 1040481

URL: http://svn.apache.org/viewvc?rev=1040481&view=rev
Log:
Merged revision 1035694 from trunk:

Fix typo and grammar.

Modified:
    couchdb/branches/new_replicator/src/couchdb/couch_changes.erl

Modified: couchdb/branches/new_replicator/src/couchdb/couch_changes.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_changes.erl?rev=1040481&r1=1040480&r2=1040481&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_changes.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_changes.erl Tue Nov 30 12:19:14 2010
@@ -146,7 +146,7 @@ builtin_filter_fun(<<"_design", _/binary
     filter_designdoc(Style);
 builtin_filter_fun(_FilterName, _Style, _Req, _Db) ->
     throw({bad_request,
-            "unkown builtin filter name"}).
+            "unknown builtin filter name"}).
 
 filter_docids(DocIds, Style) when is_list(DocIds)->
     fun(#doc_info{id=DocId, revs=Revs}) ->
@@ -157,8 +157,7 @@ filter_docids(DocIds, Style) when is_lis
             end
     end;
 filter_docids(_, _) ->
-    throw({bad_request, "`doc_ids` member is undefined or not a
-            list."}).
+    throw({bad_request, "`doc_ids` member must be defined as a list"}).
 
 filter_designdoc(Style) ->
     fun(#doc_info{id=DocId, revs=Revs}) ->



Mime
View raw message