diff --git a/index.php b/index.php
index cba933a1cd204c3b73f318cb06b7277bca68abe4..b8f251048a409a83b602160a1cfdf328fd18cb1a 100644
--- a/index.php
+++ b/index.php
@@ -112,7 +112,7 @@
 					$section = dirname($test);
 					$section_dir = $section;
 					#$section = str_replace('/tests','  ',dirname($test));
-					if ($svn = version_svn_courante(dirname(dirname($test))))
+					if ($svn = version_vcs_courante(dirname(dirname($test))))
 						$section_svn = ' ['.abs($svn).']';
 				}
 				if ($section <> $sectionold) {
@@ -144,7 +144,7 @@
 function version_spip() {
 	include_spip('inc/minipres');
 	$version = $GLOBALS['spip_version_affichee'];
-	if ($svn_revision = version_svn_courante(_DIR_RACINE))
+	if ($svn_revision = version_vcs_courante(_DIR_RACINE))
 		$version .= ' ' . (($svn_revision < 0) ? 'SVN ':'')
 		. "[<a href='http://core.spip.org/projects/spip/repository/revisions/"
 		. abs($svn_revision) . "' onclick=\"window.open(this.href); return false;\">"