Hi Michael,

On Monday, 2011-08-29 13:03:29 +0200, Michael Stahl wrote:

> fortunately you don't have to use the official SVN client; there are
> unofficial clients that are a bit more comfortable, notably HgSubversion
> and git-svn.

Which I happily use from the beginning, I think I mentioned it earlier,
but didn't include details of how to actually work with it. Thanks for
doing so.

> > git svn clone --username=myapacheid --stdlayout --revision 1162287:HEAD  
> > https://svn-master.apache.org/repos/asf/incubator/ooo/

Or if you want to separate repositories site from main and l10n use
https://svn-master.apache.org/repos/asf/incubator/ooo/trunk/main

and so on, but omit --stdlayout

> 1. set up --username correctly!

After clone for each repository also do

git config user.name 'Your Real Name'
git config user.email [email protected]

You may omit the user.name part if you already have that in your ~/.gitconfig

If you aren't a committer and plan to send patches:

git config sendemail.from 'Your Real Name <[email protected]>'
git config sendemail.confirm always
git config sendemail.to [email protected]

For [email protected] use the address you're subscribed to the list
with.


> 2. if the revision range isn't specified then git-svn will spend a
> _very_ long time looking at all revisions.

Well, yes, only an hour ;-)

> 3. do not use svn.apache.org, but svn-master.apache.org. (see below)

Thanks for enlightening, I already wondered why I had to run a second
git svn rebase  after git svn dcommit. Changing the url in .git/config
under [svn-remote "svn"] should be sufficient, yes?

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: signature.asc
Description: Digital signature

Reply via email to