hgext/mq.py
changeset 3008 c203ccd7d838
parent 3006 7017fc9a9478
child 3027 a4374f7331e4
equal deleted inserted replaced
3007:425413d9ef59 3008:c203ccd7d838
  1571     if patch:
  1571     if patch:
  1572         patch = q.lookup(patch)
  1572         patch = q.lookup(patch)
  1573     else:
  1573     else:
  1574         if not q.applied:
  1574         if not q.applied:
  1575             ui.write('No patches applied\n')
  1575             ui.write('No patches applied\n')
  1576             return
  1576             return 1
  1577         patch = q.lookup('qtip')
  1577         patch = q.lookup('qtip')
  1578     message = repo.mq.readheaders(patch)[0]
  1578     message = repo.mq.readheaders(patch)[0]
  1579 
  1579 
  1580     ui.write('\n'.join(message) + '\n')
  1580     ui.write('\n'.join(message) + '\n')
  1581 
  1581