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

extracting original git commits from "git svn" repository?

From
AFAnthony Foiani <tkil@scrye.com>
Date
Aug 28, 2011, 08:13 UTC
Message-ID
<gmxeuhs2m.fsf@dworkin.scrye.com>

About two years ago, I started an SVN repo for a private project. After a few months, I started using "git svn" for day-to-day updating (to take advantage of offline commits, etc). git-svn has been fantastic, but since it doesn't maintain AuthorDate (or, if it does, I don't know how to ask it to do so), I'd like to migrate that SVN repo to a git repo.

Is there any straightforward way to recover the "original" git commits (spread out across two different workstations), so I can reinstate the proper AuthorDate information?

Does this request even make sense?

I can have all the original data in one place, and I've got plenty of CPU and RAM to throw at the problem:

  server.svn/...
  workstation1.git/...
  workstation2.git/...

I'm hoping that it can be done with sufficient trawling through the reflog, but I thought I'd ask before trying to do the conversion myself.

Thanks in advance, Tony

Message 1 of 1 in “extracting original git commits from "git svn" repository?”
  1. Anthony FoianiAug 28, 2011

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.