Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F312E6BB4 for ; Wed, 1 Jun 2011 16:35:37 +0000 (UTC) Received: (qmail 7521 invoked by uid 500); 1 Jun 2011 16:35:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 7483 invoked by uid 500); 1 Jun 2011 16:35:36 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 7465 invoked by uid 99); 1 Jun 2011 16:35:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:35:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daniele.testa@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:35:28 +0000 Received: by qwb8 with SMTP id 8so3788954qwb.11 for ; Wed, 01 Jun 2011 09:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=AhU+E/eRWFMwI3d7zJBl8qSRck2qZa6YZ1ln39N6/pA=; b=agyrMVoCy8y4oxIlx94oZT8G2CM96M+M+ca9b+GeJtL8ihJVmwxsKGBHmGHVun4XG2 fq4gAj21FfhgXib1dkhol7hq29YJF3QDvtKo7NnAGVg5Pnsh4ZkVaO/2MTBEL9OVDBN7 F4vsBowpQ7diLzgBzDROJtf3SxmrZ4AQsTUJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dIPo3c5vZtpyAHEz6RG9jsOa093PC+OHPn2y3YA1+nEwYm2vPmkYy05CfM7/u5htPh sdJMeNLF2jeR6jsWSsz0ewTVM0JQaiQt1rh+woNYi/09tcUsbqXdGiL2nLT5Z/spUk+M czSrvVfmm1Xse9tD81ejh46JeG8cYxBAlabN4= MIME-Version: 1.0 Received: by 10.229.61.7 with SMTP id r7mr5509459qch.20.1306946107846; Wed, 01 Jun 2011 09:35:07 -0700 (PDT) Received: by 10.229.96.130 with HTTP; Wed, 1 Jun 2011 09:35:07 -0700 (PDT) Date: Wed, 1 Jun 2011 18:35:07 +0200 Message-ID: Subject: Updates From: Daniele Testa To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am new to this mailing list so please forgive me if this is a stupid question. Why do I have to specify a revisionID when I do an update? Can't couchdb just assume I meant to update the last revision if I leave the revisionID empty? If I know that I want to update document with id=XYZ, do I have to first do a GET/HEAD for that id to get the last revision ID, and then run the PUT? I really hope there is a better way :) Regards, Daniele