Re: Managing multiple branches in git - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Managing multiple branches in git
Date
Msg-id 20090603000009.GN5845@alvh.no-ip.org
Whole thread Raw
In response to Re: Managing multiple branches in git  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Managing multiple branches in git  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost escribió:

> I hope this isn't anything particularly special because I feel like I've
> been doing it forever, but..
> 
> ==# cvs -z3 co pgsql
> ==# mkdir pgsql.build
> ==# cd pgsql.build
> ==# ../pgsql/configure --my-args-here
> ==# make
> ...
> 
> Keeps all the build files and everything in pgsql.build and leaves the
> pgsql directory pristine..  I've pretty much always done things this way
> so I guess I just assumed it was common.  Maybe it's not what you're
> looking for though.

This doesn't fully work because some files are created in the source
directory even when building outside (e.g. src/backend/parser/scan.c)

(I work like this all the time too, except that I keep my trees in
.../pgsql/source/00head and they build to .../pgsql/build/00head)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Managing multiple branches in git
Next
From: Tom Lane
Date:
Subject: Re: Managing multiple branches in git