From 01e7676cb69430cb2f5b4ff17d8aa5cdbaeba95d Mon Sep 17 00:00:00 2001 From: xdo <35262360+Xavier-Do@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:23:37 +0100 Subject: [PATCH] [FIX] runbot: revert some upgrade_code errors Co-authored-by: William Braeckman (wbr) --- runbot/models/branch.py | 2 +- runbot/templates/badge.xml | 4 ++-- runbot/tests/test_branch.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runbot/models/branch.py b/runbot/models/branch.py index e70225ba..cfcd6561 100644 --- a/runbot/models/branch.py +++ b/runbot/models/branch.py @@ -135,7 +135,7 @@ class Branch(models.Model): if branch.is_pr: branch.branch_url = "https://%s/pull/%s" % (branch.remote_id.base_url, branch.name) else: - branch.branch_url = "https://%s/list/%s" % (branch.remote_id.base_url, branch.name) + branch.branch_url = "https://%s/tree/%s" % (branch.remote_id.base_url, branch.name) else: branch.branch_url = '' diff --git a/runbot/templates/badge.xml b/runbot/templates/badge.xml index 39ab5d69..98f3f289 100644 --- a/runbot/templates/badge.xml +++ b/runbot/templates/badge.xml @@ -3,7 +3,7 @@