Fix initial multi-branch import.
authorSimon Hausmann <shausman@trolltech.com>
Sat, 16 Jun 2007 11:09:21 +0000 (13:09 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Sat, 16 Jun 2007 11:09:21 +0000 (13:09 +0200)
The list of existing p4 branches in git wasn't initialized.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4

index b3f27fe90f21158cec74e1b8c276be81d92b61a9..e527734be5af0fef713a8d8241de57cb5f2cbb5e 100755 (executable)
@@ -637,6 +637,7 @@ class P4Sync(Command):
         self.isWindows = (platform.system() == "Windows")
         self.keepRepoPath = False
         self.depotPaths = None
+        self.p4BranchesInGit = []
 
         if gitConfig("git-p4.syncFromOrigin") == "false":
             self.syncWithOrigin = False