Return-Path: Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: (qmail 44692 invoked from network); 5 Jan 2011 13:20:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 13:20:55 -0000 Received: (qmail 81584 invoked by uid 500); 5 Jan 2011 13:20:54 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 81461 invoked by uid 500); 5 Jan 2011 13:20:54 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 81453 invoked by uid 99); 5 Jan 2011 13:20:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 13:20:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 13:20:47 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 3D2C620A3D; Wed, 5 Jan 2011 08:20:26 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 05 Jan 2011 08:20:26 -0500 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=kXHX4BzD/BaQlL5BPyi4xCZ+lhs=; b=Nt0xyO+S9E7S819vOEV0bnM+qlTCmnpJz41ZE8qOMk4StagB14tKkvpX5KqQUwIDk3UdparRUYeIFDvv0FZ27PtuArpmhXYIhyv+r8txupegd0EuRlOa9YoAM0Cg9fAbgkV68GKtpRBs0lfipr40cNpw6gj2ntKNITHqunOKk8Q= X-Sasl-enc: D/gzWFWDutoHPY51O+SXBf9Bt09P/LzGwtsGF6brfPU8luS7cZb8yQHFmFzBUQ 1294233625 Received: from daniel3.local (bzq-79-176-18-95.red.bezeqint.net [79.176.18.95]) by mail.messagingengine.com (Postfix) with ESMTPSA id 61510400FC5; Wed, 5 Jan 2011 08:20:25 -0500 (EST) Date: Wed, 5 Jan 2011 15:17:36 +0200 From: Daniel Shahaf To: Johan Corveleyn Cc: Subversion Development Subject: Re: Bringing diff options of svnlook on par with svn? Message-ID: <20110105131736.GC12319@daniel3.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Johan Corveleyn wrote on Wed, Jan 05, 2011 at 13:35:33 +0100: > Hi, > > I'm wondering why svnlook doesn't support the same diff options (-x > flags or others) as svn does. Is it just a question of tuits? Or there > some specific reason why "svnlook diff" doesn't support '-x-p' > (--show-c-function) and the new '--git'? > > If the answer is "tuits", I'd like to give it a shot when I have some time. > > Rationale for my personal interest in this: we use "svnlook diff" for > producing the diff for post-commit emails (still using a perl script, > instead of mailer.py, because we have no python bindings installed). > It's annoying that I can't use the -x-p option. While I'm there, it > may be doable to also include the new --git option (don't know how > much work etc). > In post-commit you can use 'svn'. (The transaction had already been committed and the FS layer finished his part in the show by that point; see svn_repos_fs_commit_txn().) Only in pre-commit are you constrained to 'svnlook' (-t), and --- for example, considering the -x-p option --- I suspect no one ever needed to use -x-p from pre-commit. I'm not sure that explanation covers all the missing options, but at least some of them. > Cheers, > -- > Johan