Fix the branch mapping detection to be independent from the order of the "p4 branches...
authorSimon Hausmann <shausman@trolltech.com>
Sun, 17 Jun 2007 09:25:34 +0000 (11:25 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Sun, 17 Jun 2007 09:25:59 +0000 (11:25 +0200)
commit6555b2ccfe63913b3e5c8b02e117f0f476307ca2
treee987c70f2371a2e46d8a1467919e27ba4aacdf5b
parentda4a660161cfe9d04c0849d77fa460c6ffc6503c
Fix the branch mapping detection to be independent from the order of the "p4 branches" output.

Collect "unknown" source branches separately and register them at the end.

Also added a minor speed up to splitFilesIntoBranches by breaking out of the loop through all branches when it's safe.

Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4