# git-svn --set-tree question

2 messages from 2010-04-04 to 2010-04-11. Participants: Vitaly R. Tskhovrebov, Eric Wong.
Thread: https://gitlist.dev/t/23325

## Vitaly R. Tskhovrebov, 2010-04-04 13:27

Subject: git-svn --set-tree question
Message-ID: <71104242.20100404172723@vitalyk.ru>
URL: https://gitlist.dev/e/71104242.20100404172723%40vitalyk.ru

```
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?


Thanks a lot, Vitaly.

```

## Eric Wong, 2010-04-11 00:50

Subject: Re: git-svn --set-tree question
Message-ID: <20100411005011.GA22778@dcvr.yhbt.net>
URL: https://gitlist.dev/e/20100411005011.GA22778%40dcvr.yhbt.net
In-Reply-To: <71104242.20100404172723@vitalyk.ru>

```
"Vitaly R. Tskhovrebov" <tskhovrebov@vitalyk.ru> wrote:
> 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

```
