Show More
@@ -101,23 +101,23 b'' | |||||
101 | </div> |
|
101 | </div> | |
102 | </div> |
|
102 | </div> | |
103 |
|
103 | |||
104 |
|
|
104 | ## Link to the shadow repository. | |
105 | %if not c.pull_request.is_closed(): |
|
105 | %if not c.pull_request.is_closed() and c.pull_request.last_merge_rev: | |
106 | <div class="field"> |
|
106 | <div class="field"> | |
107 | <div class="label-summary"> |
|
107 | <div class="label-summary"> | |
108 |
<label> |
|
108 | <label>Merge:</label> | |
109 | </div> |
|
109 | </div> | |
110 | <div class="input"> |
|
110 | <div class="input"> | |
111 |
<div class="pr- |
|
111 | <div class="pr-mergeinfo"> | |
112 | %if h.is_hg(c.pull_request.target_repo): |
|
112 | %if h.is_hg(c.pull_request.target_repo): | |
113 | <input type="text" value="hg clone ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> |
|
113 | <input type="text" value="hg clone -u pr-merge ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
114 | %elif h.is_git(c.pull_request.target_repo): |
|
114 | %elif h.is_git(c.pull_request.target_repo): | |
115 | <input type="text" value="git clone ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> |
|
115 | <input type="text" value="git clone --branch pr-merge ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
116 | %endif |
|
116 | %endif | |
117 | </div> |
|
117 | </div> | |
118 | </div> |
|
118 | </div> | |
119 | </div> |
|
119 | </div> | |
120 | %endif |
|
120 | %endif | |
121 |
|
121 | |||
122 | <div class="field"> |
|
122 | <div class="field"> | |
123 | <div class="label-summary"> |
|
123 | <div class="label-summary"> |
General Comments 0
You need to be logged in to leave comments.
Login now