Show More
@@ -1712,7 +1712,10 b' def guard(ui, repo, *args, **opts):' | |||
|
1712 | 1712 | if patch is None: |
|
1713 | 1713 | raise util.Abort(_('no patch to work with')) |
|
1714 | 1714 | if args or opts['none']: |
|
1715 |
|
|
|
1715 | idx = q.find_series(patch) | |
|
1716 | if idx is None: | |
|
1717 | raise util.Abort(_('no patch named %s') % patch) | |
|
1718 | q.set_guards(idx, args) | |
|
1716 | 1719 | q.save_dirty() |
|
1717 | 1720 | else: |
|
1718 | 1721 | status(q.series.index(q.lookup(patch))) |
General Comments 0
You need to be logged in to leave comments.
Login now