They used to have None instead of an empty list, which was
inconsistent. (It went undetected for quite a while because StGit
seldom needs to handle initial commits.)
Signed-off-by: Karl Hasselström <kha@treskal.com>
) % (tree, parents, self.author, self.committer, self.message)
@classmethod
def parse(cls, repository, s):
) % (tree, parents, self.author, self.committer, self.message)
@classmethod
def parse(cls, repository, s):
lines = list(s.splitlines(True))
for i in xrange(len(lines)):
line = lines[i].strip()
lines = list(s.splitlines(True))
for i in xrange(len(lines)):
line = lines[i].strip()