comparison mercurial/commands.py @ 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 109a22f5434a
children 14ebe97542a7
comparison
equal deleted inserted replaced
2691:accadcb4e4b5 2716:4af4e1870fa0
3433 raise 3433 raise
3434 d = lambda: func(u, repo, *args, **cmdoptions) 3434 d = lambda: func(u, repo, *args, **cmdoptions)
3435 else: 3435 else:
3436 d = lambda: func(u, *args, **cmdoptions) 3436 d = lambda: func(u, *args, **cmdoptions)
3437 3437
3438 # reupdate the options, repo/.hg/hgrc may have changed them
3439 u.updateopts(options["verbose"], options["debug"], options["quiet"],
3440 not options["noninteractive"], options["traceback"],
3441 options["config"])
3442
3438 try: 3443 try:
3439 if options['profile']: 3444 if options['profile']:
3440 import hotshot, hotshot.stats 3445 import hotshot, hotshot.stats
3441 prof = hotshot.Profile("hg.prof") 3446 prof = hotshot.Profile("hg.prof")
3442 try: 3447 try: