Invalid URL in remote message output when pushing to a project wiki repo
Pushes to the .wiki repo gives instructions to create a MR with an invalid URL. It also seems to update the wiki immediately.
Steps to reproduce
After a fresh import from bitbucket of the project without the wiki repo:
$ hg push -R shellext/wiki/ pushing to https://foss.heptapod.net/mercurial/tortoisehg/thg-shellext.wiki searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 4 changesets with 4 changes to 1 files remote: To create a merge request for master, visit: remote: https://foss.heptapod.net/mercurial/tortoisehg/thg-shellext/merge_requests/new?merge_request%5Bsource_branch%5D=master
That URL results in an error message (there is no master branch), but the wiki went live without any further interaction.
What is the current bug behavior?
The URL is invalid, but the wiki goes live anyway.
What is the expected correct behavior?
I'd expect that the URL is correct in the message, and the wiki doesn't go live without a MR. (But I have maintainer rights on that project, so maybe that's why it went live?)
Relevant logs and/or screenshots
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)
(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)
(we will only investigate if the tests are passing)
(If you can, link to the line of code that might be responsible for the problem)