Mercurial > evolve
comparison tests/test-tutorial.t @ 3389:eacf6149b678
uncommit: add a new flag `--revert` to discard wdir changes after uncommit
This patch adds a new flag to `hg uncommit` using which one can discard the wdir
changes which are left after the operation. Both the changes, the ones which
were before the uncommit and the ones which were added to wdir as a result of
uncommit as cleared out.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 09 Jan 2018 20:01:50 +0530 |
parents | 1cb549cd6236 |
children | e1f3e43a50a4 |
comparison
equal
deleted
inserted
replaced
3388:be41e4740a25 | 3389:eacf6149b678 |
---|---|
935 | 935 |
936 options ([+] can be repeated): | 936 options ([+] can be repeated): |
937 | 937 |
938 -a --all uncommit all changes when no arguments given | 938 -a --all uncommit all changes when no arguments given |
939 -r --rev VALUE revert commit content to REV instead | 939 -r --rev VALUE revert commit content to REV instead |
940 --revert discard working directory changes after uncommit | |
940 -n --note VALUE store a note on uncommit | 941 -n --note VALUE store a note on uncommit |
941 -I --include PATTERN [+] include names matching the given patterns | 942 -I --include PATTERN [+] include names matching the given patterns |
942 -X --exclude PATTERN [+] exclude names matching the given patterns | 943 -X --exclude PATTERN [+] exclude names matching the given patterns |
943 -m --message TEXT use text as commit message | 944 -m --message TEXT use text as commit message |
944 -l --logfile FILE read commit message from file | 945 -l --logfile FILE read commit message from file |