chiark / gitweb /
Refactor output handling to break circular dependency
authorKarl Hasselström <kha@treskal.com>
Sun, 26 Aug 2007 20:04:10 +0000 (22:04 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 26 Aug 2007 20:04:10 +0000 (22:04 +0200)
commit5e888f30cf851fc0989ba73f935f6da7681d4903
tree2acc5fea376a4b7c89df6644e33e2a824fef1b92
parent216a1524c4acbd9952ffaeec054e30cf14dde5fc
Refactor output handling to break circular dependency

I ran into problems when trying to use the fancy output handling in a
new module that was (recursively) imported by stgit.util -- I couldn't
use the out object because it wasn't defined yet.

Break out the output handler to its own module to break the circular
dependency.

Signed-off-by: Karl Hasselström <kha@treskal.com>
34 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/out.py [new file with mode: 0644]
stgit/stack.py
stgit/utils.py