Commit e1b02380 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: force update-server-info after checkout

parent 8ec5a3fb
...@@ -97,7 +97,7 @@ class Updater(object): ...@@ -97,7 +97,7 @@ class Updater(object):
return self.spawn(self.git_binary, *args, **kw)['stdout'].strip() return self.spawn(self.git_binary, *args, **kw)['stdout'].strip()
def git_update_server_info(self): def git_update_server_info(self):
return self._git('update-server-info', '--force') return self._git('update-server-info', '-f')
def git_create_repository_link(self): def git_create_repository_link(self):
""" Create a link in depository to the ".git" directory. """ Create a link in depository to the ".git" directory.
...@@ -204,3 +204,4 @@ class Updater(object): ...@@ -204,3 +204,4 @@ class Updater(object):
else: else:
raise NotImplementedError raise NotImplementedError
self._path_list += path_list self._path_list += path_list
self.git_update_server_info()
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