Skip to content
Snippets Groups Projects
user avatar
Georges Racinet authored
In current GitLab, setting the default branch from the
Rails app is done by the `Project` model, which
in turn does:

  repository.raw_repository.write_ref('HEAD', "refs/heads/#{branch}")

and write_ref is provided by RepositoryService
78967998
History
Name Last commit Last update
hgext3rd
hgitaly
protos
.coveragerc
.gitlab-ci.yml
.hgignore
LICENSE
README.md
conftest.py
dev-requirements.txt
install-requirements.txt
setup.py
test-requirements.txt

HGitaly

HGitaly is Gitaly server for Mercurial.