Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97517109E9 for ; Tue, 4 Mar 2014 22:21:23 +0000 (UTC) Received: (qmail 74711 invoked by uid 500); 4 Mar 2014 22:21:22 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 74694 invoked by uid 500); 4 Mar 2014 22:21:22 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 74686 invoked by uid 99); 4 Mar 2014 22:21:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 22:21:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.27] (HELO out3-smtp.messagingengine.com) (66.111.4.27) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 22:21:16 +0000 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 564D221540; Tue, 4 Mar 2014 17:20:51 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 04 Mar 2014 17:20:53 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= J9fq5SYl+f+IVXW2nv2/V6eTpp4=; b=u6mLGV3Z3PlAcBCC3BG18MTjfm8MjVkz jCNs0Yq3kZX/YG2fZEchrTaQBVtjZihoXcvDJ6RBTciMvN9lBsoCqppT/BKOXMCL rqg9CwDdvRr02nBhS/Jpxgq6Xiq+XA8vcJFxvPiaSZ5CeG6kDOXCnfW18gldrlNz QPrRKxfBLUM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=J9fq5SYl+f+IVXW2nv2/V6eTpp4=; b=uf3SEUbe8EtARv1ZmyhczElYlovn jV0IFJFw5rHQ3Fpytev397DPe/NApeCDtY+x1s+SjuBo0P6RDJf3PqitNG8MHT1v WNc5BvezPzuv9HhGgNLEXO7cnt7sxS3K+12SZyW+CnLPzf3tFJnv3Z+cjH8j8hiF UF0ZTPBXEixMh2Y= X-Sasl-enc: RryXsljwd/chY2HKbu4aylLBNd2blVmAQsMo8i22NraA 1393971651 Received: from tarsus.local2 (unknown [46.19.33.46]) by mail.messagingengine.com (Postfix) with ESMTPA id DCBBE68011C; Tue, 4 Mar 2014 17:20:50 -0500 (EST) Date: Tue, 4 Mar 2014 22:20:33 +0000 From: Daniel Shahaf To: Bill McCormick Cc: users@subversion.apache.org Subject: Re: pre-commit require lock exception Message-ID: <20140304222033.GB2442@tarsus.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org Bill McCormick wrote on Sat, Mar 01, 2014 at 13:48:19 -0600: > I have a PRE_COMMIT hook that checks the file's extension, and if it > matches it then requires a lock. > > How can the pre-commit ignore this check when the file does not > already exist on the server - for example when a client is doing an > initial check-in? Use 'svnlook changed' and look for 'A' in the first column.