Improve handling of multiline file lists in SVN.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 28 Sep 2012 20:16:11 +0000 (16:16 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 28 Sep 2012 20:16:11 +0000 (16:16 -0400)
irkerhook.py

index 15c67ff996da3c0e9ac33408798bed1ba09ddbbf..02c1efa69b2bf7cc474eb1d2b5de5ce413551186 100755 (executable)
@@ -157,7 +157,7 @@ class SvnExtractor:
         self.channels = None
         self.tcp = True
         self.author = self.svnlook("author")
-        self.files = self.svnlook("dirs-changed")
+        self.files = self.svnlook("dirs-changed").strip().replace("\n", " ")
         self.logmsg = self.svnlook("log")
         self.rev = "r{0}".format(self.commit)
     def svnlook(self, info):