##// END OF EJS Templates
pr: Add error messages for new merge failure reasons.
Martin Bornhold -
r1068:9a3ec87d default
parent child Browse files
Show More
@@ -92,6 +92,12 b' class PullRequestModel(BaseModel):'
92 MergeFailureReason.MISSING_COMMIT: lazy_ugettext(
92 MergeFailureReason.MISSING_COMMIT: lazy_ugettext(
93 'This pull request cannot be merged because the target or the '
93 'This pull request cannot be merged because the target or the '
94 'source reference is missing.'),
94 'source reference is missing.'),
95 MergeFailureReason.MISSING_TARGET_REF: lazy_ugettext(
96 'This pull request cannot be merged because the target '
97 'reference is missing.'),
98 MergeFailureReason.MISSING_SOURCE_REF: lazy_ugettext(
99 'This pull request cannot be merged because the source '
100 'reference is missing.'),
95 }
101 }
96
102
97 def __get_pull_request(self, pull_request):
103 def __get_pull_request(self, pull_request):
General Comments 0
You need to be logged in to leave comments. Login now