From: Catalin Marinas Date: Thu, 20 Mar 2008 23:12:33 +0000 (+0000) Subject: Modify 'series' to use '#' instead of '|' X-Git-Tag: v0.14.2~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/a5975709fd054e9664d6d7a8cddff200d4c3facd Modify 'series' to use '#' instead of '|' This is useful if the output is dumped to a file which is later used for commands like 'float'. The text after '#' is considered a comment and ignored. Signed-off-by: Catalin Marinas --- diff --git a/stgit/commands/series.py b/stgit/commands/series.py index 3c0816e..e3467cc 100644 --- a/stgit/commands/series.py +++ b/stgit/commands/series.py @@ -100,9 +100,9 @@ def __print_patch(patch, branch_str, prefix, empty_prefix, length, options): patch_str = patch_str.ljust(length) if options.description: - out.stdout(prefix + patch_str + ' | ' + __get_description(patch)) + out.stdout(prefix + patch_str + ' # ' + __get_description(patch)) elif options.author: - out.stdout(prefix + patch_str + ' | ' + __get_author(patch)) + out.stdout(prefix + patch_str + ' # ' + __get_author(patch)) else: out.stdout(prefix + patch_str)