git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCHv1 2/3] git p4: fix bug when verbose enabled with tag export

From
Luke Diamand <luke@diamand.org>
Date
May 11, 2012, 06:25 UTC
Message-ID
<1336717518-4214-3-git-send-email-luke@diamand.org>
In-Reply-To
<1336717518-4214-1-git-send-email-luke@diamand.org>
Wrong variable name used when verbose enabled, causes failure.
Signed-off-by: Luke Diamand <luke@diamand.org>
---
 git-p4.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-p4.py b/git-p4.py
index 565cfbc..8f0169a 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -1302,7 +1302,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
-- 
1.7.10.282.g2120.dirty
Previous: Luke DiamandNext: Luke Diamand
Message 3 of 5 in “[PATCHv1 0/3] git p4: tag import/export bug fixes”
  1. Luke DiamandMay 11, 2012
  2. 1/3 git p4: add test for tag import/export enabled via configLuke Diamand, May 11, 2012
  3. 2/3 git p4: fix bug when verbose enabled with tag exportLuke Diamand, May 11, 2012
  4. 3/3 git p4: fix bug when enabling tag import/export via config variablesLuke Diamand, May 11, 2012
  5. Pete WyckoffMay 11, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.