Improve auto-detection of tab-mode

Based on TortoiseSVN revision #25713.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #2250: bugtraq.logregex Test incorrectly saves the order of the fields

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Allow removal of local branches after Merge

Fixes a regresion of 99c7d353b746b6c24b9093876fa35cc4ef2a9e0e.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add try-catch block around the use of CStdioFile

Based on TortoiseSVN revision 25723

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