Mercurial > hg
comparison hgext/convert/cvs.py @ 4762:47091c8d028e
convert: move *** empty log message *** into commit class
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sun, 01 Jul 2007 19:40:02 -0700 |
parents | 07efcce17d28 |
children | 15a3cbfc6568 |
comparison
equal
deleted
inserted
replaced
4761:7c8cd400e86a | 4762:47091c8d028e |
---|---|
78 log = "" | 78 log = "" |
79 elif state == 1: # log | 79 elif state == 1: # log |
80 if l == "Members: \n": | 80 if l == "Members: \n": |
81 files = {} | 81 files = {} |
82 log = self.recode(log[:-1]) | 82 log = self.recode(log[:-1]) |
83 if log.isspace(): | |
84 log = "*** empty log message ***\n" | |
85 state = 2 | 83 state = 2 |
86 else: | 84 else: |
87 log += l | 85 log += l |
88 elif state == 2: | 86 elif state == 2: |
89 if l == "\n": # | 87 if l == "\n": # |