Fix the branch mapping detection to be independent from the order of the "p4 branches...
commit81313edcc02f5853e17f111bfa90ef3eb4e69e62
authorSimon Hausmann <shausman@trolltech.com>
Sun, 17 Jun 2007 09:25:34 +0000 (17 11:25 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Sun, 17 Jun 2007 09:25:59 +0000 (17 11:25 +0200)
treecad7bd2bdd1a68a69db3deee1332890e728d83b0
parent6e1d41035f09a7815fb60b9dcd65a2a534fc00cc
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>
git-p4