mirror of
https://github.com/frej/fast-export.git
synced 2026-06-20 21:19:37 +02:00
Fix depot-path determination for git-p4 submit
This commit is contained in:
2
git-p4
2
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"
|
||||
|
||||
Reference in New Issue
Block a user