rewind: alias the command to undo
This is a step in unifiying rewind and undo and not talk about them as different
commands or concepts. If there exists rewind command, that should be an alias of
undo and the vice versa.
The exact implmentation detail and how the command works etc. is a different
thing but there should be just one command.
--- a/CHANGELOG Fri Oct 12 01:23:16 2018 +0200
+++ b/CHANGELOG Fri Oct 12 02:12:23 2018 +0300
@@ -6,6 +6,7 @@
* evolve: avoid redundant output when handling linear orphans
* evolve: use stack alias s# in `hg evolve` messages
+ * rewind: add an undo alias
8.2.1 -- 2018-09-14
-------------------
--- a/hgext3rd/evolve/rewind.py Fri Oct 12 01:23:16 2018 +0200
+++ b/hgext3rd/evolve/rewind.py Fri Oct 12 02:12:23 2018 +0300
@@ -26,7 +26,7 @@
identicalflag = 4
@eh.command(
- '^rewind',
+ '^rewind|undo',
[('', 'to', [], _("rewind to these revisions")),
('', 'as-divergence', None, _("preserve current latest successors")),
('', 'exact', None, _("only rewind explicitly selected revisions")),