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

Stopping git-svn pulling a particular branch

From
Jon Seymour <jon.seymour@gmail.com>
Date
Sep 28, 2012, 04:58 UTC
Message-ID
<CAH3Anro6EOq0Qh6R6-YXpMW+9h0xtZcBR3KY0kRgWT-4mGf1xg@mail.gmail.com>
G'day

An svn developer created a branch from a subdirectory of the trunk rather than by copying trunk itself.

I want to avoid pulling this branch into my git repo with git svn fetch because the re-rooting pulls in too much history and content that I don't want.

Is there any easy way to achieve this? I tried used the --ignore-paths option, but this doesn't seem suited to the purpose.

I can delete the SVN branch if that will help, but past experience suggests that it won't.

jon.
Next: Jon Seymour
Message 1 of 2 in “Stopping git-svn pulling a particular branch”
  1. Jon SeymourSep 28, 2012
  2. Jon SeymourSep 28, 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.