reupdate the options after loading the repo
local .hgrc could possibly override them, command line take priority
--- a/mercurial/commands.py Thu Jul 27 13:18:21 2006 +0200
+++ b/mercurial/commands.py Thu Jul 27 19:26:01 2006 +0200
@@ -3435,6 +3435,11 @@
else:
d = lambda: func(u, *args, **cmdoptions)
+ # reupdate the options, repo/.hg/hgrc may have changed them
+ u.updateopts(options["verbose"], options["debug"], options["quiet"],
+ not options["noninteractive"], options["traceback"],
+ options["config"])
+
try:
if options['profile']:
import hotshot, hotshot.stats