changeset 5968:20998c86dde5

evolve: map the deprecated --unstable flag to --orphan correctly
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 19 Jun 2021 22:09:08 +0300
parents 39739c2257e3
children f8ab6ad1ffc0
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/evolvecmd.py	Sat Jun 19 09:39:01 2021 +0300
+++ b/hgext3rd/evolve/evolvecmd.py	Sat Jun 19 22:09:08 2021 +0300
@@ -1481,7 +1481,7 @@
                b"use 'evolve --orphan'")
         repo.ui.deprecwarn(msg, b'4.4')
 
-        opts['orphan'] = opts['divergent']
+        opts['orphan'] = opts['unstable']
 
     if opts['divergent']:
         msg = (b"'evolve --divergent' is deprecated, "