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

How to restore "svn mirror generator"?

From
MRManuel Reimer <manuel.spam@nurfuerspam.de>
Date
Jan 21, 2012, 15:45 UTC
Message-ID
<jfemrc$t1j$1@dough.gmane.org>
Hello,
I want to create a GIT mirror of a SVN repository.

I plan to mirror a SVN server to GIT. I don't want to fetch the full history but all future commits should be mirrored.

I plan to do this in the following way:

git svn clone -r $REVISION_TO_START_WITH http://domain.tld/path/to/svn git remote add origin ssh://user@gitserver.tld/mirror.git git push

Now, from time to time, I want to update with

git svn rebase git push

I hope, so far I'm on the right way.
But what happens if, for some reason, my local repository gets lost?
How to reconnect GIT and SVN so I'm able to mirror, again?

Is the first step to clone the GIT repository and then, somehow, get the SVN connected, again, or do I have to do it the other way around?

Yours
Manuel
Message 1 of 1 in “How to restore "svn mirror generator"?”
  1. Manuel ReimerJan 21, 2012

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.