Browse Source

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 13 years ago committed by Junio C Hamano
parent
commit
05a3cec501
  1. 2
      git-p4.py

2
git-p4.py

@ -1257,7 +1257,7 @@ class P4Submit(Command, P4UserMap): @@ -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

Loading…
Cancel
Save