Skip to content

Commit 88bca76

Browse files
authoredOct 27, 2023
conflicts: clarify where patch conflicts originate and how to fix them (Bug 1861534) (#183)
Clarify the wording of the patch conflicts error message so it is more obvious where the issue is arising from. Also add a hint that rebasing your patches on the latest revision from the landing repo may fix the problem.
1 parent c22549c commit 88bca76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎landoui/templates/stack/partials/timeline.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
</p>
2424
{% if transplant.error_breakdown %}
2525
{% set reject_paths = transplant.error_breakdown.reject_paths %}
26-
<p>The following files have a conflict with <a href="{{ transplant.error_breakdown.revision_id|revision_url() }}">revision D{{ transplant.error_breakdown.revision_id }}</a>:</p>
26+
<p>While applying <a href="{{ transplant.error_breakdown.revision_id|revision_url() }}">revision D{{ transplant.error_breakdown.revision_id }}</a> to {{ transplant.tree }}, the following files had conflicts:</p>
27+
<p>(Hint: try rebasing your changes on the latest commits from {{ transplant.tree }} and re-submitting.)</p>
2728
<div class="content">
2829
<ul>
2930
{% for path in transplant.error_breakdown.failed_paths if path.path in reject_paths %}

0 commit comments

Comments
 (0)
Failed to load comments.