You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by an...@apache.org on 2014/03/21 23:18:05 UTC

couchdb commit: updated refs/heads/master to 0e8c178

Repository: couchdb
Updated Branches:
  refs/heads/master 292561490 -> 0e8c1787a


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/master
Commit: 0e8c1787a043a01c6daba9fa574c418b49ca1916
Parents: 2925614
Author: Andy Wenk <an...@apache.org>
Authored: Fri Mar 21 23:16:55 2014 +0100
Committer: Andy Wenk <an...@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;
     {_, []} ->