From: Simon Hausmann Date: Thu, 7 Jun 2007 11:10:20 +0000 (+0200) Subject: Fix depot-path determination for git-p4 submit X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=6ce8e50925d17198a41dfbbf3a58c414614c4ed4;p=python%2Ffast-export.git Fix depot-path determination for git-p4 submit --- diff --git a/git-p4 b/git-p4 index 8be0afe..8b00e35 100755 --- a/git-p4 +++ b/git-p4 @@ -494,7 +494,7 @@ class P4Submit(Command): settings = extractSettingsGitLog(extractLogMessageFromGitCommit("p4")) if len(depotPath) == 0 and gitBranchExists("origin"): settings = extractSettingsGitLog(extractLogMessageFromGitCommit("origin")) - depotPaths = settings['depot-paths'] + depotPath = settings['depot-paths'][0] if len(depotPath) == 0: print "Internal error: cannot locate perforce depot path from existing branches"