Automatic merge failed: can't find destination branch to merge to

Hi,

I'm trying to use the automatic merge build feature with Mercurial, however, I keep getting an error that the merge failed because it can't find the destination branch.
I've made double and triple check that my repository has got a branch I'm trying to merge to. Also, tried to configure the feauture to merge into the default branch: same result.

Any hints?

Thanks,
Igor

3 comments
Comment actions Permalink

Hi,

Could you please public your VCS settings and Automatic merge feature settings?

0
Comment actions Permalink

Hi,

Attached are the automatic merge settings and VCS root configuration.

I found out that when I add a "default" branch into the list of Branch specification, the feature performs a merge, though fails with following message:
Automatic merge failed: 'hg --config ui.interactive=False push --config auth.tc.prefix=* --config auth.tc.username=root --config auth.tc.password=****** --config auth.tc.schemes=http https http://localhost/hg/xxxxxxxx' command failed. stderr: abort: push creates new remote head.

Adding an additional branch to trigger the merge operation is, however, has got a side effect: now the build is triggered by changes in that additional branch.

Thanks,
Igor



Attachment(s):
vcs.PNG
Merge.PNG
0
Comment actions Permalink

Hi,

The branch into which you want to merge should be set as default or mentioned in branch specification. To avoid triggering builds on default branch you can configure branch filter in VCS trigger.
Regarding fail while merging, it looks like you faced with this issue, please watch/vote for it.

0

Please sign in to leave a comment.