equal
deleted
inserted
replaced
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: |