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

Re: Git and svn as target

From
PBPeter Baumann <waste.manager@gmx.de>
Date
Jun 10, 2010, 06:05 UTC
Message-ID
<20100610060525.GA2177@m62s10.vlinux.de>
In-Reply-To
<4C107BEB.6020209@fechner.net>
On Thu, Jun 10, 2010 at 07:45:15AM +0200, Matthias Fechner wrote:
Show 23 quoted lines
> Hi,
> 
> i started now to work with git instead of svn. The main repository
> is a svn repo so i use git svn ...
> 
> But I have the problem now, commit comments are not transfered to
> svn, maybe I miss here a parameter.
> 
> What i did:
> git svn fetch
> git svn rebase
> git branch test
> git checkout test
> several commits
> git checkout master
> git svn fetch
> git svn rebase
> git merge test
> git svn dcommit
> 
> In the commit of svn I see only merged test...
> Could I say git to put all the commit comments into the merge?
> 

AFAIK git svn doesn't handle git merges very well. If you rebase your test branch onto master and then do the git-svn dcommit, everything should work as expected.

-Peter
Previous: Matthias FechnerNext: Avery Pennarun
Message 2 of 4 in “Git and svn as target”
  1. Matthias FechnerJun 10, 2010
  2. Peter BaumannJun 10, 2010
  3. Avery PennarunJun 10, 2010
  4. Matthias FechnerJun 14, 2010

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.