Fix initial multi-branch import.
The list of existing p4 branches in git wasn't initialized. Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Simon Hausmann committed
Jun 16, 2007 at 13:09 UTC
3c699645f589612065b048ecde45a4ea293dc75f
1 file changed
+1
contrib/fast-import/git-p4
+1
@@ -637,6 +637,7 @@ class P4Sync(Command):
637
self.isWindows = (platform.system() == "Windows")
638
self.keepRepoPath = False
639
self.depotPaths = None
640
+ self.p4BranchesInGit = []
641
642
if gitConfig("git-p4.syncFromOrigin") == "false":
643
self.syncWithOrigin = False