From: Eric S. Raymond Date: Sun, 14 Oct 2012 04:16:02 +0000 (-0400) Subject: Make SVN extractor strip trailing blank lines. X-Git-Tag: 1.13~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99b02dac0de65575237357f255cc9289d8b2a895;p=irker.git Make SVN extractor strip trailing blank lines. --- diff --git a/irkerhook.py b/irkerhook.py index af5a156..8e1a88e 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -296,7 +296,7 @@ class SvnExtractor(GenericExtractor): commit.rev = "r%s" % self.id commit.author = self.svnlook("author") commit.files = self.svnlook("dirs-changed").strip().replace("\n", " ") - commit.logmsg = self.svnlook("log") + commit.logmsg = self.svnlook("log").strip() + "\n" return commit def svnlook(self, info): return do("svnlook %s %s --revision %s" % (shellquote(info), shellquote(self.repository), shellquote(self.id)))