Given that Atlassian is removing Mercurial support from BB Cloud at the end of the month, and never supported Mercurial to begin with in Server, the plugin should be simplified by removing the mercurial plugin dependency and all associated code.
Test of Autocancel plugin uses deprecated enum BitbucketRepositoryType
Blueocean plugin shouldn't depend on mercurial plugin
MERGE commits of PRs in Mercurial repositories is not currently supported
Do not trigger new build on Mercurial insignificant changes