@matheusbsbs / matheus-bagliano / commits / a52d5c7bc0
Fork 0

Fix depot-path determination for git-p4 submit

Signed-off-by: Simon Hausmann <shausman@trolltech.com>

Simon Hausmann committed Jun 7, 2007 at 13:10 UTC a52d5c7bc027248fca472a402882586a9eaf59bf
1 file changed +1 -1
contrib/fast-import/git-p4
+1 -1
@@ -494,7 +494,7 @@ class P4Submit(Command):
494 settings = extractSettingsGitLog(extractLogMessageFromGitCommit("p4"))
495 if len(depotPath) == 0 and gitBranchExists("origin"):
496 settings = extractSettingsGitLog(extractLogMessageFromGitCommit("origin"))
497 - depotPaths = settings['depot-paths']
497 + depotPath = settings['depot-paths'][0]
498
499 if len(depotPath) == 0:
500 print "Internal error: cannot locate perforce depot path from existing branches"