diff options
author | Simon Hausmann <shausman@trolltech.com> | 2007-06-07 13:10:20 +0200 |
---|---|---|
committer | Simon Hausmann <shausman@trolltech.com> | 2007-06-07 13:10:20 +0200 |
commit | a52d5c7bc027248fca472a402882586a9eaf59bf (patch) | |
tree | 95cd064a02de77090b8b594a962caed98467265b /contrib/fast-import | |
parent | Fix git-p4 submit (diff) | |
download | tgif-a52d5c7bc027248fca472a402882586a9eaf59bf.tar.xz |
Fix depot-path determination for git-p4 submit
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'contrib/fast-import')
-rwxr-xr-x | contrib/fast-import/git-p4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 8be0afe828..8b00e350ec 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/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" |