Mercurial > kallithea
changeset 4808:0aa4b31245e5
pullrequests: use full url in 'replaced by' comment after updates
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 11 Feb 2015 02:40:28 +0100 |
parents | 14bd5dc3010b |
children | ec39e73be935 |
files | kallithea/controllers/pullrequests.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/controllers/pullrequests.py Wed Feb 11 02:40:28 2015 +0100 +++ b/kallithea/controllers/pullrequests.py Wed Feb 11 02:40:28 2015 +0100 @@ -457,9 +457,7 @@ return redirect(old_pull_request.url()) ChangesetCommentsModel().create( - text=_('Closed, replaced by %s .') % h.canonical_url('pullrequest_show', - repo_name=old_pull_request.other_repo.repo_name, - pull_request_id=pull_request.pull_request_id), + text=_('Closed, replaced by %s .') % pull_request.url(canonical=True), repo=old_pull_request.other_repo.repo_id, user=c.authuser.user_id, pull_request=old_pull_request.pull_request_id,