Browse Source

Fix depot-path determination for git-p4 submit

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
maint
Simon Hausmann 18 years ago
parent
commit
a52d5c7bc0
  1. 2
      contrib/fast-import/git-p4

2
contrib/fast-import/git-p4

@ -494,7 +494,7 @@ class P4Submit(Command): @@ -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"

Loading…
Cancel
Save