Do not append a new line to the backwards compat files (bug #12656)
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 Dec 2008 11:05:27 +0000 (11:05 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 Dec 2008 11:05:55 +0000 (11:05 +0000)
Since the multiline argument wasn't passed to the utils.write_string()
function when writing the compatibility description file from the new
infrastructure, any older command like push would have committed these
new lines.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Acked-by: Karl Hasselström <kha@treskal.com>
stgit/lib/stack.py

index 47679b6..a72ee22 100644 (file)
@@ -58,7 +58,7 @@ class Patch(object):
         write('authdate', d.author.date)
         write('commname', d.committer.name)
         write('commemail', d.committer.email)
-        write('description', d.message)
+        write('description', d.message, multiline = True)
         write('log', write_patchlog().sha1)
         write('top', new_commit.sha1)
         write('bottom', d.parent.sha1)