Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"David Fetter" <[EMAIL PROTECTED]> writes: > On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: >> Jim C. Nasby wrote: >> >BTW, is there some trick to getting cvs diff to ignore files that >> >aren't in the repo? >> >> Trick? That's what it does by default. > > I suspect he's tal

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Heikki Linnakangas
Jim C. Nasby wrote: BTW, is there some trick to getting cvs diff to ignore files that aren't in the repo? Trick? That's what it does by default. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)--- TIP 4:

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Greg Smith
On Mon, 14 May 2007, Gregory Stark wrote: Personally I find CVS so terribly slow for large trees like Postgres that it's essential to use rsync to maintain a local CVS repository. That makes 'cvs diff' remarkably fast. Having recently tried to get this to work right and not quite nailed it do

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"Heikki Linnakangas" <[EMAIL PROTECTED]> writes: > You need write-access to add files, even on anonymouse server. We often get > patches with new files as separate attachments because of that. Oh quite right. I had forgotten but that was the original reason I switched to using rsync. The alternat

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Heikki Linnakangas
Gregory Stark wrote: "Tom Lane" <[EMAIL PROTECTED]> writes: David Fetter <[EMAIL PROTECTED]> writes: I haven't included the customary diffs. This points me to some of the many deficiencies of CVS, namely that I would need write access in order to have it create a diff, Strange, it works fine

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-19 Thread Gregory Stark
"Tom Lane" <[EMAIL PROTECTED]> writes: > David Fetter <[EMAIL PROTECTED]> writes: >> I haven't included the customary diffs. This points me to some of the >> many deficiencies of CVS, namely that I would need write access in >> order to have it create a diff, > > Strange, it works fine for everyo

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-17 Thread Michael Glaesemann
On May 16, 2007, at 11:08 , Alvaro Herrera wrote: I can't remember if I dropped something else. Thanks, Alvaro. I've installed Hg and pulled from the site you posted. When I get a few spare cycles I'll take a look. Btw, we should look at localization for this in the not too distant futu

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread Alvaro Herrera
Michael Glaesemann wrote: > > On May 16, 2007, at 9:38 , Alvaro Herrera wrote: > > >That said, check this out: > > > >http://www.ubiobio.cl/~gpoo/pgsql/settings/ > > > >Sadly, usage instructions are in spanish only currently, but I claim > >that this script is extremely useful for Pg development

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread Michael Glaesemann
On May 16, 2007, at 9:38 , Alvaro Herrera wrote: That said, check this out: http://www.ubiobio.cl/~gpoo/pgsql/settings/ Sadly, usage instructions are in spanish only currently, but I claim that this script is extremely useful for Pg development (sure, I wrote it and tailored to my needs). If

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread Andrew Dunstan
David Fetter wrote: cvs diff [list of files here] |grep -v '^?' > the_file.diff Those lines go to stderr. Not when I do "cvs diff." Is there something I should (un)set in my .cvsrc? No. (The lines that go to stderr are the directory names). But I don't see why there's a

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread David Fetter
On Wed, May 16, 2007 at 03:53:22PM +0100, Gregory Stark wrote: > "David Fetter" <[EMAIL PROTECTED]> writes: > > > On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: > >> Jim C. Nasby wrote: > >> >BTW, is there some trick to getting cvs diff to ignore files > >> >that aren't in the

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread Alvaro Herrera
Jim C. Nasby wrote: > On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: > > Jim C. Nasby wrote: > > >BTW, is there some trick to getting cvs diff to ignore files that aren't > > >in the repo? > > > > Trick? That's what it does by default. > > Well, it throws a notice that they'r

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread Jim C. Nasby
On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: > Jim C. Nasby wrote: > >BTW, is there some trick to getting cvs diff to ignore files that aren't > >in the repo? > > Trick? That's what it does by default. Well, it throws a notice that they're there... [EMAIL PROTECTED]:34]~/p

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-16 Thread David Fetter
On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: > Jim C. Nasby wrote: > >BTW, is there some trick to getting cvs diff to ignore files that > >aren't in the repo? > > Trick? That's what it does by default. I suspect he's talking about all the lines starting with '?' that diff p

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-15 Thread Jim C. Nasby
On Tue, May 15, 2007 at 03:35:45PM +1200, Mark Kirkwood wrote: > Alvaro Herrera wrote: > >Mark Kirkwood wrote: > >>Alvaro Herrera wrote: > > > >>>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 > >>>exclu

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread Mark Kirkwood
Alvaro Herrera wrote: Mark Kirkwood wrote: Alvaro Herrera wrote: 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. $

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread Alvaro Herrera
Mark Kirkwood wrote: > Alvaro Herrera wrote: > >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. > > $ make mai

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread Mark Kirkwood
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

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread Alvaro Herrera
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 u

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread David Fetter
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

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-14 Thread Andrew Dunstan
Heikki Linnakangas wrote: You need write-access to add files, even on anonymouse server. We often get patches with new files as separate attachments because of that. This is the part that cvsutils fakes for you (by hacking the local cvs metadata files) so you don't need write access.

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread Neil Conway
On Sun, 2007-13-05 at 18:58 -0700, 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. Personally, I usually work against a checkout from a local mirror of the CVS rep

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread Mark Kirkwood
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.ori

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread David Fetter
On Sun, May 13, 2007 at 09:51:53PM -0400, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > On Sun, May 13, 2007 at 07:04:44PM -0400, Andrew Dunstan wrote: > >> Tom Lane wrote: > >>> Strange, it works fine for everyone else. > >> > >> Especially if you have cvsutils installed (can be

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread Tom Lane
David Fetter <[EMAIL PROTECTED]> writes: > On Sun, May 13, 2007 at 07:04:44PM -0400, Andrew Dunstan wrote: >> Tom Lane wrote: >>> Strange, it works fine for everyone else. >> >> Especially if you have cvsutils installed (can be found in many >> places including fedora extras). > I didn't know abo

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread David Fetter
On Sun, May 13, 2007 at 07:04:44PM -0400, Andrew Dunstan wrote: > > > Tom Lane wrote: > >David Fetter <[EMAIL PROTECTED]> writes: > > > >>I haven't included the customary diffs. This points me to some of > >>the many deficiencies of CVS, namely that I would need write > >>access in order to ha

Re: [PATCHES] [DOCS] OS/X startup scripts

2007-05-13 Thread Andrew Dunstan
Tom Lane wrote: David Fetter <[EMAIL PROTECTED]> writes: I haven't included the customary diffs. This points me to some of the many deficiencies of CVS, namely that I would need write access in order to have it create a diff, Strange, it works fine for everyone else.