hgext/mq.py
changeset 9288 e668bcd0e25f
parent 9265 39426716a07e
parent 9287 53fdf18fd63b
child 9327 9a69ab6d7cf7
equal deleted inserted replaced
9286:a8fdcec4ab34 9288:e668bcd0e25f
   103                     date = line[7:]
   103                     date = line[7:]
   104                 elif not line.startswith("# ") and line:
   104                 elif not line.startswith("# ") and line:
   105                     message.append(line)
   105                     message.append(line)
   106                     format = None
   106                     format = None
   107             elif line == '# HG changeset patch':
   107             elif line == '# HG changeset patch':
       
   108                 message = []
   108                 format = "hgpatch"
   109                 format = "hgpatch"
   109             elif (format != "tagdone" and (line.startswith("Subject: ") or
   110             elif (format != "tagdone" and (line.startswith("Subject: ") or
   110                                            line.startswith("subject: "))):
   111                                            line.startswith("subject: "))):
   111                 subject = line[9:]
   112                 subject = line[9:]
   112                 format = "tag"
   113                 format = "tag"