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

Re: git-svn: Fetch svn branches only and have git recognize them as branches?

From
BKBrian Koehmstedt <bkoehm@gmail.com>
Date
Mar 16, 2015, 14:27 UTC
Message-ID
<loom.20150316T152127-59@post.gmane.org>
In-Reply-To
<loom.20150313T004740-11@post.gmane.org>

Just to close the loop on this, I wasn't able to get git-svn to deal with this remote repository the way I wanted, so what I did is write some perl scripts to mirror the remote subversion repository locally and then use git-svn on that local "fixed" svn mirror.

The hard part was mirroring the svn repo locally, primarily because the remote subversion server was denying access to the root. Also complicating matters was the dump files weren't completely loading properly.

In case anyone else is needing to do this, I've published my perl script code that overcame all these issues. Here it is: https://github.com/ucidentity/failsafe-svn-sync

Previous: Brian KoehmstedtNext: Eric Wong
Message 4 of 5 in “git-svn: Fetch svn branches only and have git recognize them as branches?”
  1. Brian KoehmstedtMar 12, 2015
  2. Junio C HamanoMar 12, 2015
  3. Brian KoehmstedtMar 12, 2015
  4. Brian KoehmstedtMar 16, 2015
  5. Eric WongMar 12, 2015

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.