Show More
@@ -2491,12 +2491,11 b' def parse(ui, args):' | |||||
2491 |
|
2491 | |||
2492 | if args: |
|
2492 | if args: | |
2493 | cmd, args = args[0], args[1:] |
|
2493 | cmd, args = args[0], args[1:] | |
|
2494 | aliases, i = find(cmd) | |||
|
2495 | cmd = aliases[0] | |||
2494 | defaults = ui.config("defaults", cmd) |
|
2496 | defaults = ui.config("defaults", cmd) | |
2495 | if defaults: |
|
2497 | if defaults: | |
2496 | args = defaults.split() + args |
|
2498 | args = defaults.split() + args | |
2497 |
|
||||
2498 | aliases, i = find(cmd) |
|
|||
2499 | cmd = aliases[0] |
|
|||
2500 | c = list(i[1]) |
|
2499 | c = list(i[1]) | |
2501 | else: |
|
2500 | else: | |
2502 | cmd = None |
|
2501 | cmd = None |
General Comments 0
You need to be logged in to leave comments.
Login now