# git-svn removes merge

2 messages from 2007-06-07 to 2007-06-08. Participants: Joakim Tjernlund.
Thread: https://gitlist.dev/t/8485

## Joakim Tjernlund, 2007-06-07 17:08

Subject: git-svn removes merge
Message-ID: <1181236096.30670.66.camel@gentoo-jocke.transmode.se>
URL: https://gitlist.dev/e/1181236096.30670.66.camel%40gentoo-jocke.transmode.se

```
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, 2007-06-08 13:52

Subject: Re: git-svn removes merge
Message-ID: <1181310741.30670.92.camel@gentoo-jocke.transmode.se>
URL: https://gitlist.dev/e/1181310741.30670.92.camel%40gentoo-jocke.transmode.se
In-Reply-To: <1181236096.30670.66.camel@gentoo-jocke.transmode.se>

```
On Thu, 2007-06-07 at 19:08 +0200, Joakim Tjernlund wrote:
> 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

```
