# HG changeset patch # User Anton Shestakov # Date 1614031566 -28800 # Node ID 2e1747baf55084bcd15ce357213c2cd22f2c7ae5 # Parent b1d1903df29e98fb5c65cc10edafc34e705befe6 pstatus: drop unnecessary CLI options diff -r b1d1903df29e -r 2e1747baf550 CHANGELOG --- a/CHANGELOG Wed Feb 17 15:37:14 2021 +0530 +++ b/CHANGELOG Tue Feb 23 06:06:06 2021 +0800 @@ -5,7 +5,8 @@ -------------------- * evolve: improves content-divergence resolution that involve parent changes - * pdiff: drop some irrelevant command flag inherited from `hg diff` + * pdiff, pstatus: drop some irrelevant command flags inherited from `hg diff` + and `hg status` respectively 10.2.0.post1 -- 2021-02-01 -------------------------- diff -r b1d1903df29e -r 2e1747baf550 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Wed Feb 17 15:37:14 2021 +0530 +++ b/hgext3rd/evolve/__init__.py Tue Feb 23 06:06:06 2021 +0800 @@ -428,7 +428,8 @@ def setupparentcommand(ui): _alias, statuscmd = cmdutil.findcmd(b'status', commands.table) - pstatusopts = [o for o in statuscmd[1] if o[1] != b'rev'] + inapplicable = {b'rev', b'change'} + pstatusopts = [o for o in statuscmd[1] if o[1] not in inapplicable] @eh.command(b'pstatus', pstatusopts, **compat.helpcategorykwargs('CATEGORY_WORKING_DIRECTORY'))