##// END OF EJS Templates
convert: move *** empty log message *** into commit class
Brendan Cully -
r4762:47091c8d default
parent child Browse files
Show More
@@ -8,6 +8,8 b' class commit(object):'
8 if not x in parts:
8 if not x in parts:
9 raise util.Abort("commit missing field %s" % x)
9 raise util.Abort("commit missing field %s" % x)
10 self.__dict__.update(parts)
10 self.__dict__.update(parts)
11 if not self.desc or self.desc.isspace():
12 self.desc = '*** empty log message ***'
11
13
12 class converter_source(object):
14 class converter_source(object):
13 """Conversion source interface"""
15 """Conversion source interface"""
@@ -80,8 +80,6 b' class convert_cvs(converter_source):'
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
General Comments 0
You need to be logged in to leave comments. Login now