[PATCH] Human readable output for 'bzr ignored'
Michael Ellerman
michael at ellerman.id.au
Tue Oct 4 07:50:44 BST 2005
Hi Bazaaristas,
I haven't really used 'bzr ignored' before, and when I did I found it
a little confusing. Here's my proposal for making it a little more
understandable.
Output looks like:
concordia ~/src/work/kexec$ bzr ignored
Path Matched by glob
==================================================================
.git .git
.pc .pc
.quilt.log .quilt.log
foo.rej *.rej
localversion localversion
=== modified file 'bzrlib/builtins.py'
--- bzrlib/builtins.py
+++ bzrlib/builtins.py
@@ -867,6 +867,11 @@
See also: bzr ignore"""
def run(self):
tree = Branch.open_containing('.').working_tree()
+
+ header = '%-50s %s' % ('Path', 'Matched by glob')
+ print header
+ print '=' * len(header)
+
for path, file_class, kind, file_id in tree.list_files():
if file_class != 'I':
continue
More information about the bazaar
mailing list