Refactor message printing
commit27ac2b7eee3cc39e29c470cd5b5889e93091d9be
authorKarl Hasselström <kha@treskal.com>
Mon, 21 May 2007 20:58:39 +0000 (21 21:58 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 21 May 2007 20:59:29 +0000 (21 21:59 +0100)
tree9c8de9ad6455fa1196f5b433f8cf094ffcbb9f59
parent0f92637c75d03080d43a9b8a95527660d61d67a5
Refactor message printing

Feed all those little progress and status messages through a central
place where such things as newlines, indentation, and suppressing
output when not on a TTY can be taken care of once and for all.

This patch takes care of almost, but not quite, all output. The most
notable leftover is the printing of help messages.

Signed-off-by: Karl Hasselström <kha@treskal.com>
33 files changed:
stgit/commands/applied.py
stgit/commands/assimilate.py
stgit/commands/branch.py
stgit/commands/clean.py
stgit/commands/commit.py
stgit/commands/common.py
stgit/commands/delete.py
stgit/commands/diff.py
stgit/commands/export.py
stgit/commands/files.py
stgit/commands/fold.py
stgit/commands/hide.py
stgit/commands/id.py
stgit/commands/imprt.py
stgit/commands/log.py
stgit/commands/mail.py
stgit/commands/patches.py
stgit/commands/pick.py
stgit/commands/pull.py
stgit/commands/push.py
stgit/commands/refresh.py
stgit/commands/rename.py
stgit/commands/series.py
stgit/commands/sync.py
stgit/commands/top.py
stgit/commands/unapplied.py
stgit/commands/uncommit.py
stgit/commands/unhide.py
stgit/git.py
stgit/gitmergeonefile.py
stgit/main.py
stgit/stack.py
stgit/utils.py