This instance will be upgraded to Heptapod 0.25.0 (final) on 2021-09-22 at 15:00 UTC+2 (a few minutes of down time)

Commit 6a6731cb authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Project: fixed default default branch logic

Was previously in a presenter, moved to project, but obviously
not covered yet by RSpec tests.

--HG--
branch : heptapod
parent 31e079ca796b
......@@ -2551,7 +2551,7 @@ def package_already_taken?(package_name)
end
def default_branch_or_master
default_branch || project.mercurial? ? 'branch/default': 'master'
default_branch || mercurial? ? 'branch/default' : 'master'
end
def ci_config_path_or_default
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment