|
Boost : |
Subject: Re: [boost] [Git] Extracting libraries from the svn sandbox
From: Mika Fischer (mika.fischer_at_[hidden])
Date: 2012-12-12 17:06:15
On Wed, Dec 12, 2012 at 9:57 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
> git svn clone https://svn.boost.org/svn/boost/sandbox/endian
> [...]
> Comments? Is there a better way to do this?
This approach has the following disadvantages (which might or might
not be important to you):
- it will add git-svn-id lines to all commit messages
- the commit authors will have invalid email addresses
- their names will be the username in the svn repository
In case some or all of these issues bother you, I've successfully used
the following instructions to create repositories that pretty much
look like regular git repositories:
http://stackoverflow.com/a/3972103/92542
Basically, for the first issue, you can pass "--no-metadata" to "git
svn clone". And for the other issues you can provide a mapping from
svn user to git user in a text file and pass it to "git svn clone" via
"-A".
Best,
Mika
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk