Mercurial > evolve
changeset 5791:2e1747baf550
pstatus: drop unnecessary CLI options
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 23 Feb 2021 06:06:06 +0800 |
parents | b1d1903df29e |
children | 5d00679d78aa |
files | CHANGELOG hgext3rd/evolve/__init__.py |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 --------------------------
--- 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'))