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

git-svn and svn branches

From
Ryan Phillips <ryan@trolocsis.com>
Date
Nov 21, 2008, 19:58 UTC
Message-ID
<20081121195835.GA12141@athena.lan>

I followed the following instructions on adding a remote svn branch to my local git-svn repository. http://www.dmo.ca/blog/20070608113513

Are these still accurate?
I started the repository with
  # git svn init [url/trunk]`
  # cd project.git
  # git svn fetch -r[HEAD revision]
which works fine. I added something like Snippet 1 to the .git/config and
issued a `git svn fetch -r[HEAD revision of the branch]` and nothing
happens. It takes git-svn a few seconds to run, but the git-remote svn
branch doesn't get initialized.

Does this procedure only work with a full mirror of a git-svn repository? or perhaps I'm doing something wrong. Any help would be appreciated.

Thanks, Ryan

Snippet 1 =========

[svn-remote "svn34"] url = svn+ssh://your-server/home/svn/project-name/branches/3.4.x fetch = :refs/remotes/git-svn-3.4

Next: Eric Wong
Message 1 of 3 in “git-svn and svn branches”
  1. Ryan PhillipsNov 21, 2008
  2. Eric WongNov 25, 2008
  3. Michael J GruberNov 27, 2008

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.