git p4: fix bug when verbose enabled with tag export

Wrong variable name used when verbose enabled, causes failure.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Luke Diamand 2012-05-11 07:25:17 +01:00 committed by Junio C Hamano
parent e71f6a53e2
commit 05a3cec501
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ class P4Submit(Command, P4UserMap):

if not m.match(name):
if verbose:
print "tag %s does not match regexp %s" % (name, validTagRegexp)
print "tag %s does not match regexp %s" % (name, validLabelRegexp)
continue

# Get the p4 commit this corresponds to