[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Importing a git repos to subversion

From: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Fri, 4 Feb 2011 10:05:29 +0530

Hi Christer,

Christer Edvartsen writes:
> At work we use Subversion, and one of the developers have been
> developing a project for a while in an external git repos (he started
> the project when he was a consultant).
>
> Is there any way to import this into a new svn repos keeping history and
> everything?

Yes, this is possible- See `svnrdump load` to load a dumpstream into a
remote Subversion repository. To generate the dumpstream from the Git
fast-import stream, you could use `git2svn` [1] or alternatively try
out the experimental `svn-fi` [2]. Note that you need revprop changing
ability to perform the import itself. Do let me know how it works out-
the feedback can help us improve our tools.

-- Ram

[1]: http://repo.or.cz/w/git2svn.git
[2]: svn-fi branch of http://github.com/artagnon/git.git
Received on 2011-02-04 05:35:17 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.