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

Re: git-svn bug?

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 19, 2006, 16:52 UTC
Message-ID
<20061119165221.GA6478@soma>
In-Reply-To
<op.ti6irtilzidtg1@rygel.lnxi.com>
Troy Telford <ttelford.groups@gmail.com> wrote:
Show 7 quoted lines
> My 'dummy' repo was imported using git-svn.
> My 'real' repo was imported using git-svnimport.
> 
> Having not read any of the code, I'm just taking a wild guess; but is it  
> reasonable to say that since the repository was originally imported to git  
> using git-svnimport (rather than git-svn), git-svn doesn't have some of  
> the data it needs to push to the remote svn repo?

Exactly, git-svn needs the git-svn-id: lines at the end of each commit for 'commit' and 'dcommit' to work. So using a repo created by git-svnimport will not work.

'commit-diff' will work, however it's intended as a low-level command ('commit' should be that, too).

> Would it be reasonable to use git-svn to import the SVN repository into a  
> new git repo, and then rebase from the old git-svnimport'ed repo into the  
> new git-svn imported one?  (did that even make sense?!?)
Yes, something along those lines would work.
Previous: Troy TelfordNext: Seth Falcon
Message 6 of 10 in “git-svn bug?”
  1. Troy TelfordNov 15, 2006
  2. Junio C HamanoNov 15, 2006
  3. Troy TelfordNov 15, 2006
  4. Eric WongNov 17, 2006
  5. Troy TelfordNov 17, 2006
  6. Eric WongNov 19, 2006
  7. Seth FalconNov 15, 2006
  8. Shawn PearceNov 15, 2006
  9. Seth FalconNov 16, 2006
  10. Troy TelfordNov 15, 2006

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.