diff mercurial/commands.py @ 35163:ee64e677c3cf

merge with stable
author Augie Fackler <augie@google.com>
date Thu, 30 Nov 2017 15:48:42 -0500
parents 3da4bd50103d 02845f7441af
children 7ce0ba3a1c32
line wrap: on
line diff
--- 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