# git-svn.perl - bug in lookup_svn_merge()

1 messages from 2010-10-09 to 2010-10-09. Participants: ebik.
Thread: https://gitlist.dev/t/25399

## ebik, 2010-10-09 09:20

Subject: git-svn.perl - bug in lookup_svn_merge()
Message-ID: <20101009112016.3e3ed175@Chewbacca.cub>
URL: https://gitlist.dev/e/20101009112016.3e3ed175%40Chewbacca.cub

```
I triggered a bug in lookup_svn_merge when I was trying to convert one
of our repositories.

Namely the $bottom variable has sometimes value '1', i.e. the first
commit ever. Then it pushes "$bottom_commit^..$top_commit" to some list
for further processing. This processing fails, because there is no
commit before the first one.

We should test existence of parent of $bottom_commit, but I don't know
what is the correct behavior if it does not exist.

-- 
                                 Tomáš 'ebík' Ebenlendr
                                 PF 2010.77113540081


```
