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

Re: git-svn not fetching all revisions

From
Sam Vilain <sam@vilain.net>
Date
Nov 11, 2009, 04:00 UTC
Message-ID
<4AFA36F0.6070501@vilain.net>
In-Reply-To
<4AF9AC1A.5000100@better.se>
Marcus Better wrote:
Show 5 quoted lines
> The problem is that the trunk was replaced by a branch at some point.
> When I do "git svn clone -s svn://host/repo/project" it only fetches the
> "old" trunk up to the time of the switch, and then stops. Newer
> revisions of the "new" trunk are not fetched and cannot be seen with
> "find-rev".

Yeah. Try doing it in parts - fetch the two stages of the history explicitly using the revision range arguments to 'git svn fetch' - and then graft the histories together and fix up with git filter-branch. A bit of a hassle, but unfortunately there's not much other option...

Sam
Previous: Marcus BetterNext: Marcus Better
Message 2 of 4 in “git-svn not fetching all revisions”
  1. Marcus BetterNov 10, 2009
  2. Sam VilainNov 11, 2009
  3. Marcus BetterNov 19, 2009
  4. Sam VilainNov 20, 2009

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.