Skip to content
Snippets Groups Projects
Commit 17f64b9b authored by Stanislau Hlebik's avatar Stanislau Hlebik
Browse files

git_handler: explicitly set default branch

In upstream c0b16b801687be26d14cabe501678e24b2a3c117 there was a refactoring
that caused current named branch to be set if branch wasn't specified. It makes
hg-git tests fail. This diff fixes it by explicitly specifying default named
branch.
parent f2118a7d
No related branches found
No related tags found
No related merge requests found
......@@ -981,6 +981,8 @@
# if named branch, add to extra
if hg_branch:
extra['branch'] = hg_branch
else:
extra['branch'] = 'default'
# if committer is different than author, add it to extra
if commit.author != commit.committer \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment