Skip to content

Commit 06dcd15

Browse files
luked99gitster
authored andcommitted
git p4: fix bug when enabling tag import/export via config variables
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>
1 parent 05a3cec commit 06dcd15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

git-p4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ def run(self, args):
14001400
rebase.rebase()
14011401

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

14051405
if self.exportLabels:
14061406
p4Labels = getP4Labels(self.depotPath)
@@ -2675,7 +2675,7 @@ def run(self, args):
26752675
sys.stdout.write("\n")
26762676

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

26802680
if self.importLabels:
26812681
p4Labels = getP4Labels(self.depotPaths)

0 commit comments

Comments
 (0)