Skip to content

Commit

Permalink
git p4: fix bug when enabling tag import/export via config variables
Browse files Browse the repository at this point in the history
Use Python's True, not true. Causes failure when enabling tag
import or export in "git p4" using a config option rather than
the command line.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Luke Diamand authored and Junio C Hamano committed May 11, 2012
1 parent 05a3cec commit 06dcd15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-p4.py
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ def run(self, args):
rebase.rebase()

if gitConfig("git-p4.exportLabels", "--bool") == "true":
self.exportLabels = true
self.exportLabels = True

if self.exportLabels:
p4Labels = getP4Labels(self.depotPath)
Expand Down Expand Up @@ -2675,7 +2675,7 @@ def run(self, args):
sys.stdout.write("\n")

if gitConfig("git-p4.importLabels", "--bool") == "true":
self.importLabels = true
self.importLabels = True

if self.importLabels:
p4Labels = getP4Labels(self.depotPaths)
Expand Down

0 comments on commit 06dcd15

Please sign in to comment.