Mercurial > code > home > repos > reposync
comparison hg_status.py @ 16:db4037285592 main master
update deps, some ide setup
author | drewp@bigasterisk.com |
---|---|
date | Fri, 27 Aug 2021 13:40:49 -0700 |
parents | f714a6a7842c |
children | a4778c56cc03 |
comparison
equal
deleted
inserted
replaced
15:d653e1b558ce | 16:db4037285592 |
---|---|
149 print('done') | 149 print('done') |
150 return | 150 return |
151 repo = self.toProcess.pop(0) | 151 repo = self.toProcess.pop(0) |
152 | 152 |
153 try: | 153 try: |
154 update = { | 154 update = {'path': str(repo.path), 'github': repo.github, 'status': (yield repo.getStatus()), 'hgLatest': (yield repo.getLatestHgCommit())} |
155 'path': str(repo.path), | |
156 'github': repo.github, | |
157 'status': (yield repo.getStatus()), | |
158 'hgLatest': (yield repo.getLatestHgCommit()) | |
159 } | |
160 if repo.github: | 155 if repo.github: |
161 update['githubLatest'] = (yield repo.getLatestGithubCommit()) | 156 update['githubLatest'] = (yield repo.getLatestGithubCommit()) |
162 self.update(str(repo.path), update) | 157 self.update(str(repo.path), update) |
163 except Exception: | 158 except Exception: |
164 log.warn(f'not reporting on {repo}') | 159 log.warn(f'not reporting on {repo}') |