##// END OF EJS Templates
events: improve the error message on missing event commits
marcink -
r2643:c2891b47 default
parent child Browse files
Show More
@@ -132,7 +132,8 b' def _commits_as_dict(event, commit_ids, '
132
132
133 missing_commits = set(commit_ids) - set(c['raw_id'] for c in commits)
133 missing_commits = set(commit_ids) - set(c['raw_id'] for c in commits)
134 if missing_commits:
134 if missing_commits:
135 log.error('missing commits: %s' % ', '.join(missing_commits))
135 log.error('Inconsistent repository state. '
136 'Missing commits: %s' % ', '.join(missing_commits))
136
137
137 return commits
138 return commits
138
139
General Comments 0
You need to be logged in to leave comments. Login now