mercurial/commands.py
changeset 2717 14ebe97542a7
parent 2694 0fb28dbf0dc7
parent 2716 4af4e1870fa0
child 2718 a593813241e5
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3440,6 +3440,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