Before uploading (Pushing) changes from your local Mercurial repository to a remote repository make sure that:
- You have a Mercurial hosting account.
- The target remote Mercurial repository is accessible for your account.
- You have a pair of
ssh keysto access the remote repository.
Do the following:
- From the main menu, choose VCS | Mercurial | Push. The Push Commits dialog opens listing all commits made in the current branch since the last push.
- Select the commits you want to push. The right-hand pane shows the changes included in the selected commit. You can use the toolbar buttons to examine the commit details.
- If you want to modify the target branch where you want to push, click the branch name (it is highlighted in blue). The label turns into a text field where you can specify the target branch (note that completion is available for branch names).
- If you want to push active bookmarks with your commits (they are not sent to the remote repositories by default), select the Export Active Bookmarks option.
- Click the Push button when ready. IntelliJ IDEA starts the upload.
