# Mercurial: Select Changesets to Rebase Dialog Box

Use the Select Changesets to Rebase dialog to append the private changes on top of any destination commit.

You access this dialog box by selecting a versioned project, file or folder and either:

- choosing Team > Branch/Tag > Rebase from the main menu
- right-clicking the selected item and choose Mercurial > Branch/Tag > Rebase from the context menu

In the Select Changesets to Rebase dialog box, you have to set the following properties:

Element | Description
--- | ---
Rebase | Choose a rebasing mode.
Current Revision to Tipmost Head | Select to move a Working Directory parent commit and its ancestors to the most recent commit in the current branch. It is the suggested option when you want to move your local commits on top of just pulled remote commits.
Current Revision to Any Destination | Select to move Working Directory parent and its ancestors to an arbitrary destination changeset.
Revision to Any Destination | Select to move any changeset, its ancestors, and all its descendants to an arbitrary destination changeset.
Tree to Any Destination | Select to move any changeset and all its descendants to an arbitrary destination changeset.
Rebased Branch | Specify the branch to rebase.
Destination Revision | Specify the new base for the selected branch.
Preview | Displays a sample result of the completed rebase operation.
B (Base revision) | A commit to rebase along with all its descendants and ancestors.
W (Working Directory Parent) | A Working Directory parent.
T (Current Branch's Tipmost Head) | The tipmost head of the current branch.
S (Source Revision) | A changeset to be moved along with all its descendants.
D (Destination Revision) | A changeset to which the rebased changesets are moved.

Click Rebase to complete rebasing according to the defined settings.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.