views:

50

answers:

1

There is an internal SVN repository on which many changes have been made. This contains not only the project of interest, but also many other folders.

There is an external git repository, on which many changes have now been applied.

What is the best way to merge these 2 sets of changes.

I was thinking, take the diff of the git HEAD and svn latest changes and manually edit it to make it a patch. Is there a simpler/better alternative?

A: 

If they share a common ancestor it may be better to merge the changes a revision at a time, picking from either repo in chronological order.

That would be fairly tedious though for large numbers of revisions.

John Weldon
Do not forget to bill the hours for all the tedious work to the person who made the brilliant decision to use a local SVN copy of something that is already publically available in git.
ndim