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