hg uncommit#
move changes from parent revision to working directory#
hg uncommit [OPTION]... [FILE]...
This command is provided by the evolve extension.
Changes to selected files in the checked out revision appear again as uncommitted changed in the working directory. A new revision without the selected changes is created, becomes the checked out revision, and obsoletes the previous one.
The --include option specifies patterns to uncommit. The --exclude option specifies patterns to keep in the commit.
The --rev argument let you change the commit file to a content of another revision. It still does not change the content of your file in the working directory.
The --interactive option lets you select hunks interactively to uncommit. You can uncommit parts of file using this option.
Return 0 if changed files are uncommitted.
Options
|
|
uncommit all changes when no arguments given |
|
|
revert commit content to REV instead |
|
discard working directory changes after uncommit |
|
|
|
store a note on uncommit |
|
|
include names matching the given patterns |
|
|
exclude names matching the given patterns |
|
|
use text as commit message |
|
|
read commit message from file |
|
|
record the specified date as commit date |
|
|
record the specified user as committer |
|
|
record the current date as commit date |
|
|
record the current user as committer |
|
operate on patch repository |
Options marked [+] can be repeated.