aboutsummaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
authorLuke Diamand <luke@diamand.org>2012-05-11 07:25:18 +0100
committerJunio C Hamano <gitster@pobox.com>2012-05-11 14:21:39 -0700
commit06dcd152a81ccff5464c34ed95306196763c9e65 (patch)
tree81e87190801a6a1bdde5377b39e4fe37295757f1 /git-p4.py
parent05a3cec501e2a602ddb4333eec1e70219f0a8f53 (diff)
downloadgit-06dcd152a81ccff5464c34ed95306196763c9e65.tar.gz
git-06dcd152a81ccff5464c34ed95306196763c9e65.tar.xz
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>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-p4.py b/git-p4.py
index 1335e0b89..78ec9f8fb 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -1400,7 +1400,7 @@ class P4Submit(Command, P4UserMap):
rebase.rebase()
if gitConfig("git-p4.exportLabels", "--bool") == "true":
- self.exportLabels = true
+ self.exportLabels = True
if self.exportLabels:
p4Labels = getP4Labels(self.depotPath)
@@ -2675,7 +2675,7 @@ class P4Sync(Command, P4UserMap):
sys.stdout.write("\n")
if gitConfig("git-p4.importLabels", "--bool") == "true":
- self.importLabels = true
+ self.importLabels = True
if self.importLabels:
p4Labels = getP4Labels(self.depotPaths)