couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject [21/50] [abbrv] couchdb commit: updated refs/heads/1.6.x to d2ac597
Date Tue, 01 Apr 2014 17:42:03 GMT
Fix error message

Small typo in the error message. Was ?=rev but should
read ?rev=


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0e8c1787
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0e8c1787
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0e8c1787

Branch: refs/heads/1.6.x
Commit: 0e8c1787a043a01c6daba9fa574c418b49ca1916
Parents: 2925614
Author: Andy Wenk <andywenk@apache.org>
Authored: Fri Mar 21 23:16:55 2014 +0100
Committer: Andy Wenk <andywenk@apache.org>
Committed: Fri Mar 21 23:16:55 2014 +0100

----------------------------------------------------------------------
 src/couchdb/couch_httpd_db.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0e8c1787/src/couchdb/couch_httpd_db.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index 0a7c17c..6940e47 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -44,7 +44,7 @@ handle_request(#httpd{path_parts=[DbName|RestParts],method=Method,
         case couch_httpd:qs_value(Req, "rev", false) of
             false -> delete_db_req(Req, DbName);
             _Rev -> throw({bad_request,
-                "You tried to DELETE a database with a ?=rev parameter. "
+                "You tried to DELETE a database with a ?rev= parameter. "
                 ++ "Did you mean to DELETE a document instead?"})
         end;
     {_, []} ->


Mime
View raw message