Show More
@@ -101,18 +101,18 b'' | |||
|
101 | 101 | </div> |
|
102 | 102 | </div> |
|
103 | 103 | |
|
104 |
|
|
|
105 | %if not c.pull_request.is_closed(): | |
|
104 | ## Link to the shadow repository. | |
|
105 | %if not c.pull_request.is_closed() and c.pull_request.last_merge_rev: | |
|
106 | 106 | <div class="field"> |
|
107 | 107 | <div class="label-summary"> |
|
108 |
<label> |
|
|
108 | <label>Merge:</label> | |
|
109 | 109 | </div> |
|
110 | 110 | <div class="input"> |
|
111 |
<div class="pr- |
|
|
111 | <div class="pr-mergeinfo"> | |
|
112 | 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 | 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 | 116 | %endif |
|
117 | 117 | </div> |
|
118 | 118 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now