equal
deleted
inserted
replaced
3438 raise |
3438 raise |
3439 d = lambda: func(u, repo, *args, **cmdoptions) |
3439 d = lambda: func(u, repo, *args, **cmdoptions) |
3440 else: |
3440 else: |
3441 d = lambda: func(u, *args, **cmdoptions) |
3441 d = lambda: func(u, *args, **cmdoptions) |
3442 |
3442 |
|
3443 # reupdate the options, repo/.hg/hgrc may have changed them |
|
3444 u.updateopts(options["verbose"], options["debug"], options["quiet"], |
|
3445 not options["noninteractive"], options["traceback"], |
|
3446 options["config"]) |
|
3447 |
3443 try: |
3448 try: |
3444 if options['profile']: |
3449 if options['profile']: |
3445 import hotshot, hotshot.stats |
3450 import hotshot, hotshot.stats |
3446 prof = hotshot.Profile("hg.prof") |
3451 prof = hotshot.Profile("hg.prof") |
3447 try: |
3452 try: |