Show More
@@ -2872,7 +2872,7 b' def guard(ui, repo, *args, **opts):' | |||
|
2872 | 2872 | patch = None |
|
2873 | 2873 | args = list(args) |
|
2874 | 2874 | if opts.get(r'list'): |
|
2875 | if args or opts.get('none'): | |
|
2875 | if args or opts.get(r'none'): | |
|
2876 | 2876 | raise error.Abort(_('cannot mix -l/--list with options or ' |
|
2877 | 2877 | 'arguments')) |
|
2878 | 2878 | for i in xrange(len(q.series)): |
@@ -2886,7 +2886,7 b' def guard(ui, repo, *args, **opts):' | |||
|
2886 | 2886 | patch = args.pop(0) |
|
2887 | 2887 | if patch is None: |
|
2888 | 2888 | raise error.Abort(_('no patch to work with')) |
|
2889 | if args or opts.get('none'): | |
|
2889 | if args or opts.get(r'none'): | |
|
2890 | 2890 | idx = q.findseries(patch) |
|
2891 | 2891 | if idx is None: |
|
2892 | 2892 | raise error.Abort(_('no patch named %s') % patch) |
General Comments 0
You need to be logged in to leave comments.
Login now