OSDN Git Service

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 b3f27fe..e527734 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