couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r833038 - in /couchdb/trunk: share/www/script/test/basics.js src/couchdb/couch_httpd_db.erl
Date Thu, 05 Nov 2009 12:30:07 GMT
Author: jan
Date: Thu Nov  5 12:29:53 2009
New Revision: 833038

URL: http://svn.apache.org/viewvc?rev=833038&view=rev
Log:
typo, thanks David Coallier

Modified:
    couchdb/trunk/share/www/script/test/basics.js
    couchdb/trunk/src/couchdb/couch_httpd_db.erl

Modified: couchdb/trunk/share/www/script/test/basics.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/basics.js?rev=833038&r1=833037&r2=833038&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/basics.js (original)
+++ couchdb/trunk/share/www/script/test/basics.js Thu Nov  5 12:29:53 2009
@@ -241,5 +241,5 @@
   TEquals(400, xhr.status, "should return a bad request");
   result = JSON.parse(xhr.responseText);
   TEquals("bad_request", result.error);
-  TEquals("You tried to DELETE a database with a ?=rev parameter. Did mean to DELETE a document
instead?", result.reason);
+  TEquals("You tried to DELETE a database with a ?=rev parameter. Did you mean to DELETE
a document instead?", result.reason);
 };

Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_db.erl?rev=833038&r1=833037&r2=833038&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_db.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_db.erl Thu Nov  5 12:29:53 2009
@@ -45,7 +45,7 @@
             false -> delete_db_req(Req, DbName);
             _Rev -> throw({bad_request,
                 "You tried to DELETE a database with a ?=rev parameter. "
-                ++ "Did mean to DELETE a document instead?"})
+                ++ "Did you mean to DELETE a document instead?"})
         end;
     {_, []} ->
         do_db_req(Req, fun db_req/2);



Mime
View raw message