changeset 35163 | ee64e677c3cf |
parent 35147 | 3da4bd50103d |
parent 35034 | 02845f7441af |
child 35225 | 7ce0ba3a1c32 |
--- a/mercurial/commands.py Wed Nov 22 22:18:06 2017 +0800 +++ b/mercurial/commands.py Thu Nov 30 15:48:42 2017 -0500 @@ -103,6 +103,10 @@ _("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