couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "How_to_deploy_view_changes_in_a_live_environment" by NilsBreunese
Date Thu, 20 Oct 2011 15:17:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "How_to_deploy_view_changes_in_a_live_environment" page has been changed by NilsBreunese:
http://wiki.apache.org/couchdb/How_to_deploy_view_changes_in_a_live_environment?action=diff&rev1=3&rev2=4

Comment:
Added a comment about needing to supply the revision when copying to an existing location

  To copy a document use:
   curl -X COPY <URL of source design document> -H "Destination: <ID of destination
design document>"
  
+ When copying a document to an already existing destination, you'll also need to supply the
revision of the document you want to overwrite:
+  curl -X COPY <URL of source design document> -H "Destination: <ID of destination
design document>?rev=<revision>"
+ 
  To copy http://localhost:5984/database/_design/ddoc-new to http://localhost:5984/database/_design/ddoc:
   curl -X COPY http://localhost:5984/database/_design/ddoc-new -H "Destination: _design/ddoc"
  

Mime
View raw message