Mercurial > hg
changeset 2716:4af4e1870fa0
reupdate the options after loading the repo
local .hgrc could possibly override them, command line take priority
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 27 Jul 2006 19:26:01 +0200 |
parents | accadcb4e4b5 |
children | 14ebe97542a7 |
files | mercurial/commands.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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