Show More
@@ -2629,8 +2629,7 b' def mqimport(orig, ui, repo, *args, **kw' | |||||
2629 | return orig(ui, repo, *args, **kwargs) |
|
2629 | return orig(ui, repo, *args, **kwargs) | |
2630 |
|
2630 | |||
2631 | def mqinit(orig, ui, *args, **kwargs): |
|
2631 | def mqinit(orig, ui, *args, **kwargs): | |
2632 |
mq = kwargs |
|
2632 | mq = kwargs.pop('mq', None) | |
2633 | del kwargs['mq'] |
|
|||
2634 |
|
2633 | |||
2635 | if not mq: |
|
2634 | if not mq: | |
2636 | return orig(ui, *args, **kwargs) |
|
2635 | return orig(ui, *args, **kwargs) | |
@@ -2643,8 +2642,7 b' def mqcommand(orig, ui, repo, *args, **k' | |||||
2643 | """Add --mq option to operate on patch repository instead of main""" |
|
2642 | """Add --mq option to operate on patch repository instead of main""" | |
2644 |
|
2643 | |||
2645 | # some commands do not like getting unknown options |
|
2644 | # some commands do not like getting unknown options | |
2646 |
mq = kwargs |
|
2645 | mq = kwargs.pop('mq', None) | |
2647 | del kwargs['mq'] |
|
|||
2648 |
|
2646 | |||
2649 | if not mq: |
|
2647 | if not mq: | |
2650 | return orig(ui, repo, *args, **kwargs) |
|
2648 | return orig(ui, repo, *args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now