hgext/mq.py
changeset 3604 437489d8dfbf
parent 3578 3b4e00cba57a
child 3681 05d877dfd33d
equal deleted inserted replaced
3603:ef9c515836ae 3604:437489d8dfbf
  1729     """push the next patch onto the stack"""
  1729     """push the next patch onto the stack"""
  1730     q = repo.mq
  1730     q = repo.mq
  1731     mergeq = None
  1731     mergeq = None
  1732 
  1732 
  1733     if opts['all']:
  1733     if opts['all']:
       
  1734         if not q.series:
       
  1735             raise util.Abort(_('no patches in series'))
  1734         patch = q.series[-1]
  1736         patch = q.series[-1]
  1735     if opts['merge']:
  1737     if opts['merge']:
  1736         if opts['name']:
  1738         if opts['name']:
  1737             newpath = opts['name']
  1739             newpath = opts['name']
  1738         else:
  1740         else: