One way GIT SVN sync (no rebase)
- From
Long, Martin <martin@longhome.co.uk>
- Date
- Jul 5, 2011, 15:17 UTC
- Message-ID
- <CANfMb__rUdhCP7=nu0mgnSf652fkp-V5-iA+CscthVD+B-j3yA@mail.gmail.com>
Hi,
I forgot to announce this when I created it.
svnExport.pl by Martin Long, has been written to allow a one way sync to a subversion repository, without the need to rebase or write commit details back to the GIT repository. This makes is suitable for syncing a central or shared GIT repository to a SVN repo for backup, or to satisfy corporate/project requirements. The removal of the need to rebase prevents issues with downstream repositories. Works on multiple repositories, creating new branches in SVN automatically. For non-linear histories without a branch in tack, only the first-parent chain is committed.
https://github.com/martinlong1978/Git-Svn-push
A little rough around the edges, but feel free to fork, and send me a pull request if you have anything to contribute.
-- Martin