threads / discuss / 8485

git-svn removes merge

Subject: git-svn removes merge

## tl;dr

2 messages between Jun 7, 2007 and Jun 8, 2007.

replies: 1people: 1as markdown or json

Joakim Tjernlund· Jun 7, 2007, 17:08 UTC · lore
If I do this:

git checkout --track -b svn remotes/trunk git checkout -b merge git-am ../mbox git checkout svn #edit Makefile and commit git-svn dcommit #Note 1 git pull . merge git-svn dcommit

then git-svn dcommit removes the merge beteen svn and merge. git log svn..merge shows all the commits that git-am ../mbox added.

How do I avoid this?
 Jocke
Note 1:
  If I skip this step then the last git-svn dcommit fails, why is that?
Joakim Tjernlund· Jun 8, 2007, 13:52 UTC · re: Joakim Tjernlund · lore

Re: git-svn removes merge

On Thu, 2007-06-07 at 19:08 +0200, Joakim Tjernlund wrote:
Show 20 quoted lines
> If I do this:
> 
> git checkout --track -b svn remotes/trunk
> git checkout -b merge
> git-am ../mbox
> git checkout svn
> #edit Makefile and commit
> git-svn dcommit #Note 1
> git pull . merge
> git-svn dcommit
> 
> then git-svn dcommit removes the merge beteen svn and merge.
> git log svn..merge shows all the commits that git-am ../mbox added.
> 
> How do I avoid this?
> 
>  Jocke
> 
> Note 1:
>   If I skip this step then the last git-svn dcommit fails, why is that?
     Forgot to mention the error msg I get here:
Transaction is out of date: Out of date: '/trunk/board/tmcu/of-tmtu.dts'
in transaction '101-1' at /usr/bin/git-svn line 405
 Jocke

← back to recent threads