[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [git] migrating a svn repository with several sub-modules

On 2 September 2011 14:44, Andrew Overholt <overholt@xxxxxxxxxx> wrote:
> Hi,
>> Does anyone have experience with migrating a svn repository with this
>> layout to git?
> I did something similar for Linux Tools.  It wasn't easy and I couldn't
> figure out a way to automate it.  I used something similar to the
> attached script as a starting point.  The main merging tool I used was
> this perl module:
>  http://search.cpan.org/~book/Git-FastExport-0.07/script/git-stitch-repo

AFAICS find git-stitch-repo is the only tool available for doing this.
For simple linear history it does the right thing.

However where the source repos have more than one line of development,
I'm finding that the produced repo doesn't have correctly unified
branches -- i.e. the generated master doesn't contain the changes from
all the stitched together repos.

Andrew, did you verify that all your tags and branch tags were the
same after the conversion as before, and if so how did you get
git-stitch-repo to produce correct output?