feature(scm): added multibranch support for git and mercurial

This commit is contained in:
RhodeCode Admin 2025-12-21 08:27:11 +01:00
parent 4c45b5eb14
commit 102205ec73
51 changed files with 446 additions and 217 deletions

View file

@ -41,8 +41,7 @@ class TestGetRepoChangeset(object):
if details == "full":
assert result["refs"]["bookmarks"] == getattr(commit, "bookmarks", [])
branches = [commit.branch] if commit.branch else []
assert result["refs"]["branches"] == branches
assert result["refs"]["branches"] == commit.branches
assert result["refs"]["tags"] == commit.tags
@pytest.mark.parametrize("details", ["basic", "extended", "full"])