Show More
@@ -607,6 +607,10 b' class MercurialRepository(BaseRepository' | |||
|
607 | 607 | self._update(bookmark_name) |
|
608 | 608 | return self._identify(), True |
|
609 | 609 | except RepositoryError: |
|
610 | # The rebase-abort may raise another exception which 'hides' | |
|
611 | # the original one, therefore we log it here. | |
|
612 | log.exception('Error while rebasing shadow repo during merge.') | |
|
613 | ||
|
610 | 614 | # Cleanup any rebase leftovers |
|
611 | 615 | self._remote.rebase(abort=True) |
|
612 | 616 | self._remote.update(clean=True) |
@@ -715,8 +719,8 b' class MercurialRepository(BaseRepository' | |||
|
715 | 719 | merge_succeeded = True |
|
716 | 720 | except RepositoryError: |
|
717 | 721 | log.exception( |
|
718 |
'Failure when doing local from the shadow |
|
|
719 | 'to the target repository.') | |
|
722 | 'Failure when doing local push from the shadow ' | |
|
723 | 'repository to the target repository.') | |
|
720 | 724 | merge_succeeded = False |
|
721 | 725 | merge_failure_reason = MergeFailureReason.PUSH_FAILED |
|
722 | 726 | else: |
@@ -2794,7 +2794,9 b' class CacheKey(Base, BaseModel):' | |||
|
2794 | 2794 | |
|
2795 | 2795 | Session().commit() |
|
2796 | 2796 | except Exception: |
|
2797 | log.error(traceback.format_exc()) | |
|
2797 | log.exception( | |
|
2798 | 'Cache key invalidation failed for repository %s', | |
|
2799 | safe_str(repo_name)) | |
|
2798 | 2800 | Session().rollback() |
|
2799 | 2801 | |
|
2800 | 2802 | @classmethod |
General Comments 0
You need to be logged in to leave comments.
Login now