Commit c4986227 authored by Boxiang Sun's avatar Boxiang Sun

testnode: Update repo's submodule when running testnode

parent ca229c3e
......@@ -164,6 +164,9 @@ class Updater(object):
logger.exception("")
if not(correct_url):
self.deleteRepository()
parameter_list = ['submodule', 'update', '--init']
self._git(*parameter_list)
if not os.path.exists(self.repository_path):
parameter_list = ['clone', self.url]
if self.branch is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment