mercurial/commands.py
changeset 2716 4af4e1870fa0
parent 2673 109a22f5434a
child 2717 14ebe97542a7
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3435,6 +3435,11 @@ def dispatch(args):
             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