pull-requests: added nicer formatting for merge conflicting files
This commit is contained in:
parent
a3815a43af
commit
ef0be3b6e8
4 changed files with 6 additions and 6 deletions
|
|
@ -990,7 +990,7 @@ class GitRepository(BaseRepository):
|
|||
except RepositoryError as e:
|
||||
log.exception('Failure when doing local merge on git shadow repo')
|
||||
if isinstance(e, UnresolvedFilesInRepo):
|
||||
metadata['unresolved_files'] = 'file: ' + (', file: '.join(e.args[0]))
|
||||
metadata['unresolved_files'] = '\n* conflict: ' + ('\n * conflict: '.join(e.args[0]))
|
||||
|
||||
merge_possible = False
|
||||
merge_failure_reason = MergeFailureReason.MERGE_FAILED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue