Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 3345:a09be4317f9c
ui.py: use the overlay to hold --config data
This allows the ui class to know that these items have a higher priority
without further help from commands.py.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 10 Oct 2006 18:43:20 -0300 |
parents | d9b3d3d34749 |
children | 1700a103458e |
comparison
equal
deleted
inserted
replaced
3344:d9b3d3d34749 | 3345:a09be4317f9c |
---|---|
3347 raise | 3347 raise |
3348 d = lambda: func(u, repo, *args, **cmdoptions) | 3348 d = lambda: func(u, repo, *args, **cmdoptions) |
3349 else: | 3349 else: |
3350 d = lambda: func(u, *args, **cmdoptions) | 3350 d = lambda: func(u, *args, **cmdoptions) |
3351 | 3351 |
3352 # reupdate the options, repo/.hg/hgrc may have changed them | |
3353 u.updateopts(options["verbose"], options["debug"], options["quiet"], | |
3354 not options["noninteractive"], options["traceback"], | |
3355 options["config"]) | |
3356 | |
3357 try: | 3352 try: |
3358 if options['profile']: | 3353 if options['profile']: |
3359 import hotshot, hotshot.stats | 3354 import hotshot, hotshot.stats |
3360 prof = hotshot.Profile("hg.prof") | 3355 prof = hotshot.Profile("hg.prof") |
3361 try: | 3356 try: |