git-update: Make sure to download all subproject before applying manifest

Otherwise we might be missing some subprojects update
This commit is contained in:
Thibault Saunier 2019-04-19 16:38:24 -04:00
parent fda8379411
commit b46c29525f

View file

@ -8,6 +8,7 @@ import sys
from scripts.common import git
from scripts.common import Colors
from scripts.common import accept_command
from scripts.common import get_meson
SCRIPTDIR = os.path.normpath(os.path.dirname(__file__))
@ -143,6 +144,8 @@ if __name__ == "__main__":
sys.stdin.close()
if options.manifest:
meson = get_meson()
targets_s = subprocess.check_output(meson + ['subprojects', 'download'])
repos_commits = manifest_get_commits(options.manifest)
else:
repos_commits = {}