To get this branch, use:
bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
« back to all changes in this revision
Viewing changes to bzrlib/textui.py
-
Committer:
Martin Pool
-
Date:
2009-11-14 11:19:39 UTC
-
mto:
This revision was merged to the branch mainline in
revision
4828.
-
Revision ID:
mbp@sourcefrog.net-20091114111939-8pghrh3fg2prgdlv
Move stubby show_status from bzrlib.textui into remove(), its only user
Show diffs side-by-side
added
removed
22
def show_status(state, kind, name, to_file=None):
23
if kind == 'directory':
24
# use this even on windows?
26
elif kind == 'symlink':
31
raise ValueError(kind)
34
raise ValueError(state)
39
to_file.write(state + ' ' + name + kind_ch + '\n')