changeset 5336 | 24de027551c1 |
parent 5294 | e14118f92730 |
parent 5334 | 448eb46d4d84 |
child 5432 | bfbd9b954315 |
--- a/hgext/mq.py Mon Sep 24 12:42:25 2007 -0500 +++ b/hgext/mq.py Mon Sep 24 19:14:18 2007 -0300 @@ -1638,6 +1638,9 @@ q = repo.mq message = cmdutil.logmessage(opts) if opts['edit']: + if not q.applied: + ui.write(_("No patches applied\n")) + return 1 if message: raise util.Abort(_('option "-e" incompatible with "-m" or "-l"')) patch = q.applied[-1].name