|
|
@ -171,7 +171,11 @@ function vcs_smart_update($nom_vcs, $dir_repo, $url, $force_update = false) { |
|
|
|
else { |
|
|
|
// le up est fait a chaque fois, sauf si un jeton demande de up uniquement sur le force
|
|
|
|
if ($force_update or !file_exists($dir_repo . 'forced-up-only.txt')) { |
|
|
|
$vcs("up", '--ignore-externals ' . rtrim($dir_repo,'/'), $dir_repo); |
|
|
|
$ignore = '--ignore-externals '; |
|
|
|
if (file_exists($dir_repo . 'forced-externals.txt')) { |
|
|
|
$ignore = ''; |
|
|
|
} |
|
|
|
$vcs("up", $ignore . rtrim($dir_repo,'/'), $dir_repo); |
|
|
|
$rev_after = vcs_read_current_rev($nom_vcs, $dir_repo); |
|
|
|
|
|
|
|
// recuperer la liste des fichiers modifies
|
|
|
|