Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 35225:7ce0ba3a1c32
dispatch: replace _earlygetopt(strip=True) with new parser
The execution order in cmdalias.__init__() is adjusted to set stripped args
to self.givenargs, which is no longer updated in place.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 23 Nov 2017 23:18:56 +0900 |
parents | ee64e677c3cf |
children | 98f97eb20597 |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Nov 23 22:23:59 2017 +0900 +++ b/mercurial/commands.py Thu Nov 23 23:18:56 2017 +0900 @@ -103,10 +103,6 @@ _("when to paginate (boolean, always, auto, or never)"), _('TYPE')), ] -# options which must be pre-parsed before loading configs and extensions -# TODO: perhaps --debugger should be included -earlyoptflags = ("--cwd", "-R", "--repository", "--repo", "--config") - dryrunopts = cmdutil.dryrunopts remoteopts = cmdutil.remoteopts walkopts = cmdutil.walkopts