diff mercurial/commands.py @ 2717:14ebe97542a7

merge with tonfa
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Jul 2006 09:01:13 +0200
parents 0fb28dbf0dc7 4af4e1870fa0
children a593813241e5
line wrap: on
line diff
--- 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