svn module: checkSVN split into 2 functions