mercurial/commands.py
changeset 2717 14ebe97542a7
parent 2694 0fb28dbf0dc7
parent 2716 4af4e1870fa0
child 2718 a593813241e5
equal deleted inserted replaced
2715:79c31b6b9c83 2717:14ebe97542a7
  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: