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>
Luke Diamand committed
May 11, 2012 at 07:25 UTC
05a3cec501e2a602ddb4333eec1e70219f0a8f53
1 file changed
+1
-1
git-p4.py
+1
-1
@@ -1257,7 +1257,7 @@ class P4Submit(Command, P4UserMap):
1257
1258
if not m.match(name):
1259
if verbose:
1260
- print "tag %s does not match regexp %s" % (name, validTagRegexp)
1260
+ print "tag %s does not match regexp %s" % (name, validLabelRegexp)
1261
continue
1262
1263
# Get the p4 commit this corresponds to