Given the problems I'm having, I decided to set up a new local Git
repository for futher work. Here's how to do it:
$ git clone git://git.apache.org/tapestry5.git

This sets up a new working folder, tapestry5. It takes it a while to
download the necessary Git repository objects.
$ cd tapestry5 $ curl http://git.apache.org/authors.txt
-o .git/authors.txt $ git config svn.authorsfile .git/authors.txt

This fetches the current list of authors so that proper names appear in
various Git reports, then configures Git to make use of the file.
$ git svn init --prefix=origin/ --tags=tags/releases --trunk=trunk
--branches=branches https://svn.apache.org/repos/asf/tapestry/tapestry5

This tells Git where to synch from and to, as well as a bit about
Tapestry's slightly idiosyncratic layout.
$ git svn rebase

And that finishes things up, ensuring that you have all the most recent
revisions.
>From here on it, the two commands you need are git svn rebase (to pull
in repository changes) and git svn dcommit (to push deltas back to
Subversion). You should always rebase before a dcommit.

--
Posted By Howard to Tapestry Central at 4/19/2010 09:21:00 AM

Reply via email to