{"thread":{"id":"29416","subject":"How to restore \"svn mirror generator\"?","startedAt":"2012-01-21T15:45:10Z","lastAt":"2012-01-21T15:45:10Z","messageCount":1,"participants":["Manuel Reimer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"182897","messageId":"jfemrc$t1j$1@dough.gmane.org","threadId":"29416","inReplyTo":null,"subject":"How to restore \"svn mirror generator\"?","fromName":"Manuel Reimer","fromEmail":"manuel.spam@nurfuerspam.de","sentAt":"2012-01-21T15:45:10Z","receivedAt":"2012-01-21T15:45:10Z","isPatch":false,"sender":{"key":"manuel.spam@nurfuerspam.de","avatar":null},"body":"Hello,\n\nI want to create a GIT mirror of a SVN repository.\n\nI plan to mirror a SVN server to GIT. I don't want to fetch the full history but \nall future commits should be mirrored.\n\nI plan to do this in the following way:\n\ngit svn clone -r $REVISION_TO_START_WITH http://domain.tld/path/to/svn\ngit remote add origin ssh://user@gitserver.tld/mirror.git\ngit push\n\nNow, from time to time, I want to update with\n\ngit svn rebase\ngit push\n\nI hope, so far I'm on the right way.\n\nBut what happens if, for some reason, my local repository gets lost?\n\nHow to reconnect GIT and SVN so I'm able to mirror, again?\n\nIs the first step to clone the GIT repository and then, somehow, get the SVN \nconnected, again, or do I have to do it the other way around?\n\nYours\n\nManuel\n"}]}