aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSimon Hausmann <shausman@trolltech.com>2007-06-07 13:10:20 +0200
committerSimon Hausmann <shausman@trolltech.com>2007-06-07 13:10:20 +0200
commita52d5c7bc027248fca472a402882586a9eaf59bf (patch)
tree95cd064a02de77090b8b594a962caed98467265b /contrib
parentb0d10df77a1130bdf3b4f59fdc18312432b90823 (diff)
downloadgit-a52d5c7bc027248fca472a402882586a9eaf59bf.tar.gz
git-a52d5c7bc027248fca472a402882586a9eaf59bf.tar.xz
Fix depot-path determination for git-p4 submit
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/git-p42
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"