Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id CC87D9FB783; Mon, 14 May 2007 22:55:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 89617-03; Mon, 14 May 2007 22:55:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by postgresql.org (Postfix) with ESMTP id C687E9FB859; Mon, 14 May 2007 22:55:11 -0300 (ADT) Received: from [192.168.1.11] (121-72-77-1.dsl.telstraclear.net [121.72.77.1]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JI200L7R7ZV0E40@smtp5.clear.net.nz>; Tue, 15 May 2007 13:55:08 +1200 (NZST) Date: Tue, 15 May 2007 13:54:56 +1200 From: Mark Kirkwood Subject: Re: [PATCHES] OS/X startup scripts In-reply-to: <20070514191615.GA31201@alvh.no-ip.org> To: Alvaro Herrera Cc: David Fetter , Tom Lane , Andrew Dunstan , PostgreSQL Docs , PostgreSQL Patches Message-id: <464912F0.6010005@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <20070513211526.GF14860@fetter.org> <20797.1179096579@sss.pgh.pa.us> <4647998C.3000103@dunslane.net> <20070514011826.GI14860@fetter.org> <23143.1179107513@sss.pgh.pa.us> <20070514015805.GK14860@fetter.org> <4647D81C.7080802@paradise.net.nz> <20070514173556.GW14860@fetter.org> <20070514191615.GA31201@alvh.no-ip.org> User-Agent: Thunderbird 1.5.0.10 (X11/20070313) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/36 X-Sequence-Number: 4265 Alvaro Herrera wrote: > David Fetter wrote: >> On Mon, May 14, 2007 at 03:31:40PM +1200, Mark Kirkwood wrote: >>> David Fetter wrote: >>>> cvs diff works just great until you want to add or remove a file >>>> without write permissions to the CVS repository, i.e. when you've >>>> checked out as anonymous. >>>> >>> I usually saved an untouched version of the tree to compare against, >>> so something like: >>> >>> $ cvs diff -Nacr pgsql.orig pgsql >>> >>> gives a complete patch including added/deleted files. It is a bit >>> primitive, but is pretty easy to do! > > Except that it also includes diffs for generated files, which tend to be > huge. To work around that you need to create a list of files to > exclude, and the whole thing (which was cumbersome already) starts to > get unmanageable. > > I do use the cvsup mirror myself which makes things so much easier and > faster. > Not so, you just do a $ make maintainer-clean before the diff, which clears all those out. While maintaining a cvs mirror is also good, for a small piece of work (or a work on a well defined area of the code) this requires no fooling around with repositories at all (which is nice). Cheers Mark