Fix depot-paths encoding for multi-path imports (don't split up //depot/path/foo)
[gitweb.git] / contrib / fast-import / git-p4
index 551573afc59245631668d923d98c75acad0124e1..815d8bbb5d73ff79072602457c776b654e97a11d 100755 (executable)
@@ -1312,7 +1312,7 @@ class P4Sync(Command):
                                 parent = self.initialParents[branch]
                                 del self.initialParents[branch]
 
-                            self.commit(description, filesForCommit, branch, branchPrefix, parent)
+                            self.commit(description, filesForCommit, branch, [branchPrefix], parent)
                     else:
                         files = self.extractFilesFromCommit(description)
                         self.commit(description, files, self.branch, self.depotPaths,