Show More
@@ -1607,6 +1607,9 def refresh(ui, repo, *pats, **opts): | |||
|
1607 | 1607 | q = repo.mq |
|
1608 | 1608 | message = cmdutil.logmessage(opts) |
|
1609 | 1609 | if opts['edit']: |
|
1610 | if not q.applied: | |
|
1611 | ui.write(_("No patches applied\n")) | |
|
1612 | return 1 | |
|
1610 | 1613 | if message: |
|
1611 | 1614 | raise util.Abort(_('option "-e" incompatible with "-m" or "-l"')) |
|
1612 | 1615 | patch = q.applied[-1].name |
General Comments 0
You need to be logged in to leave comments.
Login now