Re: git-svn --set-tree question
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Apr 11, 2010, 00:50 UTC
- Message-ID
- <20100411005011.GA22778@dcvr.yhbt.net>
- In-Reply-To
- <71104242.20100404172723@vitalyk.ru>
"Vitaly R. Tskhovrebov" <tskhovrebov@vitalyk.ru> wrote:
Show 10 quoted lines
> Hello, guys. > > I have some unusual situation here. > > We need to move git repo to svn with commit history. After some > research I found a way with creating an empty svn, and then making > git svn --set-tree [git_revision_number_here] > > Commit history imports well, but i loose commiters' names and > comments. How to move them too?
Hi Vitaly,
You'll have to get the SVN admin to enable changing revprops on the repo itself. There's a hook you need to enable server-side and you'll probably have to write a script for changing the revprops of each revision to map to the git one.
-- Eric Wong