shadow-repos: expose a nicer clone destination directory by default in
format of pull-request-NUM.
This commit is contained in:
parent
3dd481e54c
commit
9a8665f0d8
1 changed files with 2 additions and 2 deletions
|
|
@ -110,9 +110,9 @@
|
|||
<div class="input">
|
||||
<div class="pr-shadowinfo">
|
||||
%if h.is_hg(c.pull_request.target_repo):
|
||||
<input type="text" value="hg clone ${c.shadow_clone_url}" readonly="readonly">
|
||||
<input type="text" value="hg clone ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly">
|
||||
%elif h.is_git(c.pull_request.target_repo):
|
||||
<input type="text" value="git clone ${c.shadow_clone_url}" readonly="readonly">
|
||||
<input type="text" value="git clone ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly">
|
||||
%endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue