Switch Working Directory dialog
Use this dialog to update the current working directory to a named branch, light-weight branch (bookmark), or a specific changeset identified by a tag, hash, or revision number.
By default, Mercurial requires that before update the current working directory should be clean, that is, it should not contain any uncommitted changes. Otherwise the update operation fails and MPS shows the corresponding error message. The message also recommends that you clean the current working directory by running the hg update <target branch, bookmark, or changeset> -C
to discard the uncommitted changes.
Item | Description |
---|---|
Repository | From this list, choose the repository to run the update in. The contents of the Branch, Tag, and Bookmark lists are updated to show the branches, tags, and bookmarks that are available in the selected repository. |
Switch to | In this area, choose the branch, bookmark, or changeset to switch to.
|
Overwrite locally modified files (no backup) | If you are going to update to another branch, bookmark, or changeset and you have any uncommitted changes in the current line of development, technically there can be two ways to treat them. The uncommitted changes can be either committed before update or abandoned (cleaned ). By default, Mercurial requires that before update the current working directory should be clean, that is, it should not contain any uncommitted changes. Otherwise the update operation fails and MPS shows the corresponding error message. The message also recommends that you clean the current working directory by running the
|