Read about our upcoming Code of Conduct on this issue

Commit c18311ca authored by Anton Shestakov's avatar Anton Shestakov
Browse files

evolve: map the deprecated --unstable flag to --orphan correctly

parent 39739c2257e3
...@@ -1481,7 +1481,7 @@ def _checkevolveopts(repo, opts): ...@@ -1481,7 +1481,7 @@ def _checkevolveopts(repo, opts):
b"use 'evolve --orphan'") b"use 'evolve --orphan'")
repo.ui.deprecwarn(msg, b'4.4') repo.ui.deprecwarn(msg, b'4.4')
opts['orphan'] = opts['divergent'] opts['orphan'] = opts['unstable']
if opts['divergent']: if opts['divergent']:
msg = (b"'evolve --divergent' is deprecated, " msg = (b"'evolve --divergent' is deprecated, "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment