Reduce scope of variables

Based on TortoiseSVN revision 25239

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Don't assign NULL to an iterator

Based on TortoiseSVN revision 25237

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Remove duplicate includes

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Constify methods

Based on TortoiseSVN 25243

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Do not run finish rebase routines more than once

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Rebase Dialog: Prompt user to select if branch or upstream combo box is empty

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fixed issue #2121: Sync Dialog Fetch and Rebase fails due to no branch selection

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
If user attempts to create branch with same name as current branch, tell him to use reset command

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix compile error in Release configuration

Regression of 84ced4a0b69a84bf77d0cf3f3d293a6c33df126e.

Signed-off-by: Sven Strickroth <email@cs-ware.de>