Signed-off-by: Simon Hausmann <shausman@trolltech.com>
settings = extractSettingsGitLog(extractLogMessageFromGitCommit("p4"))
if len(depotPath) == 0 and gitBranchExists("origin"):
settings = extractSettingsGitLog(extractLogMessageFromGitCommit("origin"))
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"
if len(depotPath) == 0:
print "Internal error: cannot locate perforce depot path from existing branches"