Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] OS/X startup scripts

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: David Fetter <david(at)fetter(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Docs <pgsql-docs(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] OS/X startup scripts
Date: 2007-05-15 01:54:56
Message-ID: 464912F0.6010005@paradise.net.nz (view raw or flat)
Thread:
Lists: pgsql-docspgsql-patches
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

In response to

Responses

pgsql-docs by date

Next:From: Alvaro HerreraDate: 2007-05-15 02:44:51
Subject: Re: [PATCHES] OS/X startup scripts
Previous:From: Tom LaneDate: 2007-05-14 23:10:22
Subject: Re: [DOCS] Autovacuum and XID wraparound

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-05-15 02:36:14
Subject: Re: [HACKERS] Behavior of GENERATED columns per SQL2003
Previous:From: FAST PostgreSQLDate: 2007-05-15 00:50:23
Subject: Re: Updateable cursors patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group