##// END OF EJS Templates
use check_call in update_submodules
MinRK -
Show More
@@ -87,6 +87,6 b' def check_submodule_status(root=None):'
87
87
88 def update_submodules(repo_dir):
88 def update_submodules(repo_dir):
89 """update submodules in a repo"""
89 """update submodules in a repo"""
90 subprocess.Popen("git submodule init", cwd=repo_dir, shell=True)
90 subprocess.check_call("git submodule init", cwd=repo_dir, shell=True)
91 subprocess.Popen("git submodule update", cwd=repo_dir, shell=True)
91 subprocess.check_call("git submodule update --recursive", cwd=repo_dir, shell=True)
92
92
General Comments 0
You need to be logged in to leave comments. Login now