equal
deleted
inserted
replaced
246 ui.config("ui", "strict")) |
246 ui.config("ui", "strict")) |
247 cmd = aliases[0] |
247 cmd = aliases[0] |
248 args = aliasargs(i[0]) + args |
248 args = aliasargs(i[0]) + args |
249 defaults = ui.config("defaults", cmd) |
249 defaults = ui.config("defaults", cmd) |
250 if defaults: |
250 if defaults: |
251 args = shlex.split(defaults) + args |
251 args = map(util.expandpath, shlex.split(defaults)) + args |
252 c = list(i[1]) |
252 c = list(i[1]) |
253 else: |
253 else: |
254 cmd = None |
254 cmd = None |
255 c = [] |
255 c = [] |
256 |
256 |
475 format = 'text' |
475 format = 'text' |
476 |
476 |
477 output = ui.config('profiling', 'output') |
477 output = ui.config('profiling', 'output') |
478 |
478 |
479 if output: |
479 if output: |
480 path = os.path.expanduser(output) |
480 path = ui.expandpath(output) |
481 path = ui.expandpath(path) |
|
482 ostream = open(path, 'wb') |
481 ostream = open(path, 'wb') |
483 else: |
482 else: |
484 ostream = sys.stderr |
483 ostream = sys.stderr |
485 |
484 |
486 try: |
485 try: |