git-p4: label import fails with multiple labels at the same changelist
commita080558ed77952b2394499531edc324eb2885d67
authorLuke Diamand <luke@diamand.org>
Thu, 19 Jan 2012 09:52:29 +0000 (19 09:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jan 2012 22:47:46 +0000 (20 14:47 -0800)
treece703d5a5d7912288709d3a622cddb752db72dd9
parent4139ecc2f0d18eef54666c660285136488b90c03
git-p4: label import fails with multiple labels at the same changelist

git-p4 has an array of changelists with one label per changelist.
But you can have multiple labels on a single changelist and so this
code fails.

Add a test case demonstrating the problem.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9804-git-p4-label.sh