Show More
@@ -106,16 +106,17 b' class CachedRepoList(object):' | |||||
106 | )(dbr.repo_name, 'get repo check'): |
|
106 | )(dbr.repo_name, 'get repo check'): | |
107 | continue |
|
107 | continue | |
108 |
|
108 | |||
109 |
|
|
109 | try: | |
|
110 | last_change = scmr.last_change | |||
|
111 | tip = h.get_changeset_safe(scmr, 'tip') | |||
|
112 | except Exception: | |||
110 | log.error( |
|
113 | log.error( | |
111 | '%s this repository is present in database but it ' |
|
114 | '%s this repository is present in database but it ' | |
112 |
'cannot be created as an scm instance' |
|
115 | 'cannot be created as an scm instance, org_exc:%s' | |
|
116 | % (dbr.repo_name, traceback.format_exc()) | |||
113 | ) |
|
117 | ) | |
114 | continue |
|
118 | continue | |
115 |
|
119 | |||
116 | last_change = scmr.last_change |
|
|||
117 | tip = h.get_changeset_safe(scmr, 'tip') |
|
|||
118 |
|
||||
119 | tmp_d = {} |
|
120 | tmp_d = {} | |
120 | tmp_d['name'] = dbr.repo_name |
|
121 | tmp_d['name'] = dbr.repo_name | |
121 | tmp_d['name_sort'] = tmp_d['name'].lower() |
|
122 | tmp_d['name_sort'] = tmp_d['name'].lower() |
General Comments 0
You need to be logged in to leave comments.
Login now