# git svn rebase bug

2 messages from 2011-11-08 to 2011-11-09. Participants: Matt Arsenault, Carlos Martín Nieto.
Thread: https://gitlist.dev/t/28888

## Matt Arsenault, 2011-11-08 20:50

Subject: git svn rebase bug
Message-ID: <39110A70-A25E-4A6B-A401-FCCE895B2CE5@rpi.edu>
URL: https://gitlist.dev/e/39110A70-A25E-4A6B-A401-FCCE895B2CE5%40rpi.edu

```
There seems to be a bug using git svn rebase with strategies

git version 1.7.7.2


$ git svn rebase --strategy=theirs

First, rewinding head to replay your work on top of it...
/usr/lib/git-core/git-rebase--merge: line 69: git-merge-theirs: command not found
Unknown exit code (127) from command: git-merge-theirs deabad54a6d5ce3ab3f655e06b9c24eadbba6f6c^ -- HEAD deabad54a6d5ce3ab3f655e06b9c24eadbba6f6c
rebase --strategy=theirs refs/remotes/git-svn: command returned error: 1
```

## Carlos Martín Nieto, 2011-11-09 10:40

Subject: Re: git svn rebase bug
Message-ID: <20111109104056.GB3409@beez.lab.cmartin.tk>
URL: https://gitlist.dev/e/20111109104056.GB3409%40beez.lab.cmartin.tk
In-Reply-To: <39110A70-A25E-4A6B-A401-FCCE895B2CE5@rpi.edu>

```
On Tue, Nov 08, 2011 at 03:50:25PM -0500, Matt Arsenault wrote:
> There seems to be a bug using git svn rebase with strategies
> 
> git version 1.7.7.2
> 
> 
> $ git svn rebase --strategy=theirs

ENOENT. The "theirs" strategy doesn't exist (there is an "ours"
strategy). "Theirs" in a option to the recursive merge strategy.

> 
> First, rewinding head to replay your work on top of it...
> /usr/lib/git-core/git-rebase--merge: line 69: git-merge-theirs: command not found
> Unknown exit code (127) from command: git-merge-theirs deabad54a6d5ce3ab3f655e06b9c24eadbba6f6c^ -- HEAD deabad54a6d5ce3ab3f655e06b9c24eadbba6f6c
> rebase --strategy=theirs refs/remotes/git-svn: command returned error: 1

The bug is the failure to detect that the merge strategy doesn't
exist, but your command wouldn't have worked anyway.

   cmn

```
