This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Commit 04a8c1a
[Backport 5.0] Fix Bitbucket Server exclude repo to use project key instead of name (#49837)
The excludable repo name should be created from the `Project.Key` (i.e.
`pjlast`) and not the `Project.Name` (i.e. `Petri-Johan Last`).
This fixes the `Exclude repository` button in the repo settings page not
necessarily working for Bitbucket Server repositories.
## Test plan
Tests updated
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
<br> Backport af8da59 from #49829
Co-authored-by: Petri-Johan Last <[email protected]>1 parent e7379b3 commit 04a8c1a
File tree
2 files changed
+2
-2
lines changed- cmd/frontend/backend
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments