SVN: Refactor SVN detection code
SVN: Refactor SVN detection code

Reviewed-by: Jonathan Liu <44960b6aa03eb2fb89c62409a43f0b56d13ff84f@gmail.com>
Change-Id: Ib78251b69a89ee503bb78ab122c6e37a6ec7aacb
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@nokia.com>

xianian/qt-creator,colede/qtcreator,hdweiss/qt-creator-visualizer,richardmg/qtcreator,AltarBeastiful/qt-creator,darksylinc/qt-creator,darksylinc/qt-creator,AltarBeastiful/qt-creator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,darksylinc/qt-creator,azat/qtcreator,xianian/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,kuba1/qtcreator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,richardmg/qtcreator,martyone/sailfish-qtcreator,jonnor/qt-creator,xianian/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,amyvmiwei/qt-creator,Distrotech/qtcreator,danimo/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,danimo/qt-creator,azat/qtcreator,AltarBeastiful/qt-creator,malikcjm/qtcreator,azat/qtcreator,colede/qtcreator,richardmg/qtcreator,azat/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,KDE/android-qt-creator,xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,colede/qtcreator,kuba1/qtcreator,farseerri/git_code,jonnor/qt-creator,colede/qtcreator,colede/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,KDAB/KDAB-Creator,danimo/qt-creator,jonnor/qt-creator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,farseerri/git_code,colede/qtcreator,danimo/qt-creator,jonnor/qt-creator,xianian/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,omniacreator/qtcreator,AltarBeastiful/qt-creator,jonnor/qt-creator,bakaiadam/collaborative_qt_creator,colede/qtcreator,xianian/qt-creator,hdweiss/qt-creator-visualizer,KDAB/KDAB-Creator,syntheticpp/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,farseerri/git_code,syntheticpp/qt-creator,azat/qtcreator,KDAB/KDAB-Creator,amyvmiwei/qt-creator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,AltarBeastiful/qt-creator,kuba1/qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,richardmg/qtcreator,farseerri/git_code,syntheticpp/qt-creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,farseerri/git_code,syntheticpp/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,farseerri/git_code,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,malikcjm/qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,Distrotech/qtcreator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,azat/qtcreator,farseerri/git_code,KDE/android-qt-creator,KDAB/KDAB-Creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,bakaiadam/collaborative_qt_creator,omniacreator/qtcreator,KDE/android-qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,duythanhphan/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,duythanhphan/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,danimo/qt-creator,KDE/android-qt-creator,kuba1/qtcreator,kuba1/qtcreator,syntheticpp/qt-creator,KDAB/KDAB-Creator,malikcjm/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,Distrotech/qtcreator