Show More
@@ -434,6 +434,7 b' def _getlocal(ui, rpath):' | |||
|
434 | 434 | |
|
435 | 435 | def _checkshellalias(ui, args): |
|
436 | 436 | cwd = os.getcwd() |
|
437 | norepo = commands.norepo | |
|
437 | 438 | options = {} |
|
438 | 439 | args = fancyopts.fancyopts(args, commands.globalopts, options) |
|
439 | 440 | |
@@ -453,6 +454,7 b' def _checkshellalias(ui, args):' | |||
|
453 | 454 | try: |
|
454 | 455 | aliases, entry = cmdutil.findcmd(cmd, cmdtable, lui.config("ui", "strict")) |
|
455 | 456 | except error.UnknownCommand: |
|
457 | commands.norepo = norepo | |
|
456 | 458 | os.chdir(cwd) |
|
457 | 459 | return |
|
458 | 460 | |
@@ -463,6 +465,7 b' def _checkshellalias(ui, args):' | |||
|
463 | 465 | d = lambda: fn(ui, *args[1:]) |
|
464 | 466 | return lambda: runcommand(lui, None, cmd, args[:1], ui, options, d, [], {}) |
|
465 | 467 | |
|
468 | commands.norepo = norepo | |
|
466 | 469 | os.chdir(cwd) |
|
467 | 470 | |
|
468 | 471 | _loaded = set() |
General Comments 0
You need to be logged in to leave comments.
Login now