Show More
@@ -101,18 +101,18 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> |
General Comments 0
You need to be logged in to leave comments.
Login now