hg: Include state of dry_run in merge failure logging.
This commit is contained in:
parent
f42158291f
commit
1b4ce0b7a5
1 changed files with 3 additions and 1 deletions
|
|
@ -409,7 +409,9 @@ class BaseRepository(object):
|
|||
shadow_repository_path, target_ref, source_repo,
|
||||
source_ref, message, user_name, user_email, dry_run=dry_run)
|
||||
except RepositoryError:
|
||||
log.exception('Unexpected failure when running merge')
|
||||
log.exception(
|
||||
'Unexpected failure when running merge, dry-run=%s',
|
||||
dry_run)
|
||||
return MergeResponse(
|
||||
False, False, None, MergeFailureReason.UNKNOWN)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue