mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
Fix depot-path determination for git-p4 submit
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
parent
b0d10df77a
commit
a52d5c7bc0
@ -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…
Reference in New Issue
Block a user