git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn --set-tree question

From
EWEric 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
Previous: Vitaly R. Tskhovrebov
Message 2 of 2 in “git-svn --set-tree question”
  1. Vitaly R. TskhovrebovApr 4, 2010
  2. Eric WongApr 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.