hgext/mq.py
changeset 2301 7c2623aedeb4
parent 2300 52b9b6751b2c
child 2488 2785aeb51be4
equal deleted inserted replaced
2300:52b9b6751b2c 2301:7c2623aedeb4
   137                 format = "tag"
   137                 format = "tag"
   138             elif format == "tag" and line == "":
   138             elif format == "tag" and line == "":
   139                 # when looking for tags (subject: from: etc) they
   139                 # when looking for tags (subject: from: etc) they
   140                 # end once you find a blank line in the source
   140                 # end once you find a blank line in the source
   141                 format = "tagdone"
   141                 format = "tagdone"
   142             else:
   142             elif message or line:
   143                 message.append(line)
   143                 message.append(line)
   144             comments.append(line)
   144             comments.append(line)
   145 
   145 
   146         eatdiff(message)
   146         eatdiff(message)
   147         eatdiff(comments)
   147         eatdiff(comments)