couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [04/10] couch commit: updated refs/heads/import-master-tmp to 247a772
Date Wed, 23 Apr 2014 10:25:40 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-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/428c3247
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/428c3247
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/428c3247

Branch: refs/heads/import-master-tmp
Commit: 428c3247a8921f220778e9a91ee1bf56ddf4c1a3
Parents: c097b2f
Author: Andy Wenk <andywenk@apache.org>
Authored: Fri Mar 21 23:16:55 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Apr 23 11:21:16 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/428c3247/couch_httpd_db.erl
----------------------------------------------------------------------
diff --git a/couch_httpd_db.erl b/couch_httpd_db.erl
index 0a7c17c..6940e47 100644
--- a/couch_httpd_db.erl
+++ b/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