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 | |
parent | b0d10df77a1130bdf3b4f59fdc18312432b90823 (diff) | |
download | git-a52d5c7bc027248fca472a402882586a9eaf59bf.tar.gz git-a52d5c7bc027248fca472a402882586a9eaf59bf.tar.xz |
Fix depot-path determination for git-p4 submit
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
-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 8be0afe82..8b00e350e 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" |