git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-svn.perl - bug in lookup_svn_merge()
@ 2010-10-09  9:20 ebik
  0 siblings, 0 replies; only message in thread
From: ebik @ 2010-10-09  9:20 UTC (permalink / raw
  To: Eric Wong; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-09  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-09  9:20 git-svn.perl - bug in lookup_svn_merge() ebik

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).