The mu open-url action may be used to open the web-browser to open urls for the modified repositories compared to some dest branch (commonly used to create pull requests in multiple repositories).

To use:

mu open-url main-pattern --dest=dest_branch

The main-pattern may use the following keywords:

So, given the following situations, it may be used to create pull requests by using:

Github

Pattern: https://github.com/user/project/compare/old_development...master

Example to create pull request from current branch to the master branch:

Bitbucket

Pattern: https://bitbucket.org/user/project/branch/source_branch?dest=master

Example to create pull request from current branch to the master branch:

GitLab

Pattern: https://gitlab.com/user/repo/merge_requests/new?merge_request[source_branch]=my-feature-branch&merge_request[target_branch]=master

Example to create pull request from current branch to the master branch:

Stash

Example to create pull request from current branch to the master branch:

Pattern: https://custom.domain.com/stash/projects/container/repos/repo_name/compare/commits?sourceBranch=sourceBranch&targetBranch=master

Note that currently the base url/pattern must be the same for all the repos (it's not possible to have one repository hosted in one place and another in another place for the current code to work -- for this we'd need to store the url per repository).