add hg and svn fields in source section for check