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

Re: git-svn error "Unable to extract revision information from commit ...~1"

From
Steven Grimm <koreth@midwinter.com>
Date
Jun 27, 2007, 16:57 UTC
Message-ID
<468296DE.7000704@midwinter.com>
In-Reply-To
<1182947236.21320.3.camel@omicron.ep.petrobras.com.br>
Victor Bogado da Silva Lins wrote:
> I will try that, but on the other hand is it possible to commit the 
> diff between my head and the svn head with a new message? This would 
> be good enough for me.

Yes, that's pretty easy; you just have to do a squash merge to eliminate the nonlinear history. Assuming the svn head is called "trunk" and your head is called "myhead":

# start with the svn head git checkout -b trunk tempbranch # bring in all the changes from your branch git merge --squash myhead # commit with whatever message you want git commit # and ship it up to svn land git svn dcommit

-Steve
Previous: Junio C HamanoNext: Steven Grimm
Message 4 of 5 in “git-svn error "Unable to extract revision information from commit ...~1"”
  1. Victor Bogado da Silva LinsJun 26, 2007
  2. Steven GrimmJun 27, 2007
  3. Junio C HamanoJun 27, 2007
  4. Steven GrimmJun 27, 2007
  5. Steven GrimmJun 27, 2007

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.