##// END OF EJS Templates
call ui.updateopts only after changing directories...
Alexis S. L. Carvalho -
r3348:e4aa22ea default
parent child Browse files
Show More
@@ -3318,10 +3318,6 b' def dispatch(args):'
3318 3318 (t[4]-s[4], t[0]-s[0], t[2]-s[2], t[1]-s[1], t[3]-s[3]))
3319 3319 atexit.register(print_time)
3320 3320
3321 u.updateopts(options["verbose"], options["debug"], options["quiet"],
3322 not options["noninteractive"], options["traceback"],
3323 parseconfig(options["config"]))
3324
3325 3321 # enter the debugger before command execution
3326 3322 if options['debugger']:
3327 3323 pdb.set_trace()
@@ -3334,6 +3330,10 b' def dispatch(args):'
3334 3330 raise util.Abort('%s: %s' %
3335 3331 (options['cwd'], inst.strerror))
3336 3332
3333 u.updateopts(options["verbose"], options["debug"], options["quiet"],
3334 not options["noninteractive"], options["traceback"],
3335 parseconfig(options["config"]))
3336
3337 3337 path = u.expandpath(options["repository"]) or ""
3338 3338 repo = path and hg.repository(u, path=path) or None
3339 3339 if repo and not repo.local():
@@ -105,6 +105,7 b' a'
105 105
106 106
107 107 %% --traceback
108 Traceback (most recent call last):
108 109 %% --time
109 110 Time: real x.x secs (user x.x+x.x sys x.x+x.x)
110 111 %% --version
General Comments 0
You need to be logged in to leave comments. Login now