Show More
@@ -564,7 +564,7 b' def repo2db_mapper(initial_repo_list, re' | |||||
564 | git_repo = db_repo.scm_instance() |
|
564 | git_repo = db_repo.scm_instance() | |
565 | # update repository server-info |
|
565 | # update repository server-info | |
566 | log.debug('Running update server info') |
|
566 | log.debug('Running update server info') | |
567 | git_repo._update_server_info() |
|
567 | git_repo._update_server_info(force=True) | |
568 |
|
568 | |||
569 | db_repo.update_commit_cache() |
|
569 | db_repo.update_commit_cache() | |
570 |
|
570 |
@@ -695,11 +695,11 b' class GitRepository(BaseRepository):' | |||||
695 | _stdout, stderr = self.run_git_command(cmd, fail_on_stderr=False) |
|
695 | _stdout, stderr = self.run_git_command(cmd, fail_on_stderr=False) | |
696 | return stderr |
|
696 | return stderr | |
697 |
|
697 | |||
698 | def _update_server_info(self): |
|
698 | def _update_server_info(self, force=False): | |
699 | """ |
|
699 | """ | |
700 | runs gits update-server-info command in this repo instance |
|
700 | runs gits update-server-info command in this repo instance | |
701 | """ |
|
701 | """ | |
702 | self._remote.update_server_info() |
|
702 | self._remote.update_server_info(force=force) | |
703 |
|
703 | |||
704 | def _current_branch(self): |
|
704 | def _current_branch(self): | |
705 | """ |
|
705 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now