Show More
@@ -1024,7 +1024,7 b' def _checkshellalias(lui, ui, args):' | |||||
1024 | cmd = aliases[0] |
|
1024 | cmd = aliases[0] | |
1025 | fn = entry[0] |
|
1025 | fn = entry[0] | |
1026 |
|
1026 | |||
1027 |
if cmd and util.safehasattr(fn, |
|
1027 | if cmd and util.safehasattr(fn, 'shell'): | |
1028 | # shell alias shouldn't receive early options which are consumed by hg |
|
1028 | # shell alias shouldn't receive early options which are consumed by hg | |
1029 | _earlyopts, args = _earlysplitopts(args) |
|
1029 | _earlyopts, args = _earlysplitopts(args) | |
1030 | d = lambda: fn(ui, *args[1:]) |
|
1030 | d = lambda: fn(ui, *args[1:]) |
General Comments 0
You need to be logged in to leave comments.
Login now