Excerpts from Magnus Hagander's message of lun sep 20 12:49:28 -0400 2010:

> Committers can (and should! please test!) clone from git clone
> ssh://g...@gitmaster.postgresql.org/postgresql.git.
> 
> Please do *NOT* commit or push anything to this repository yet though:
> The repo is there - all the scripts to manage it are *not*. So don't
> commit until I confirm that it is.
> 
> But please clone and verify the stuff we have now.

I tried to follow the instructions on the Wiki but they didn't work.
The ones under the heading "Dependent Clone per Branch, Pushing and
Pulling From a Local Repository" that is.

What I find is that after doing the local clone for the branch, i.e.
  git clone postgresql REL9_0_STABLE
this clones only the "master" branch somehow, not the other branches; so
when I later run 
  git checkout REL9_0_STABLE
on that clone, it fails with this message:

$ git checkout REL9_0_STABLE
error: pathspec 'REL9_0_STABLE' did not match any file(s) known to git.


So I first need to checkout each branch on the "postgresql" clone (the
one tracking the remote), and then do the local clone.  So the
instructions are:

branches="REL9_0_STABLE REL8_4_STABLE REL8_3_STABLE REL8_2_STABLE REL8_1_STABLE 
REL8_0_STABLE REL7_4_STABLE"

pushd postgresql/
for i in $branches; do git checkout $i; done
popd

for i in $branches; do git clone postgresql $i --branch $i; done

and then set the config variables on each clone, as specified.



-- 
Álvaro Herrera <alvhe...@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to