Rev 3604: * The help for ``bzr ignored`` now sugests ``bzr ls --ignored`` for in http://people.ubuntu.com/~robertc/baz2.0/3834
Robert Collins
robertc at robertcollins.net
Tue Aug 5 07:01:57 BST 2008
At http://people.ubuntu.com/~robertc/baz2.0/3834
------------------------------------------------------------
revno: 3604
revision-id: robertc at robertcollins.net-20080805060140-ckkbituih3srpm06
parent: pqm at pqm.ubuntu.com-20080805011407-wmq7130znc0e6c4x
committer: Robert Collins <robertc at robertcollins.net>
branch nick: 3834
timestamp: Tue 2008-08-05 16:01:40 +1000
message:
* The help for ``bzr ignored`` now sugests ``bzr ls --ignored`` for
scripting use. (Robert Collins, #3834)
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'NEWS'
--- a/NEWS 2008-08-04 22:41:18 +0000
+++ b/NEWS 2008-08-05 06:01:40 +0000
@@ -68,6 +68,9 @@
cause subsequent errors in ``bzr st`` and ``bzr commit``.
(Robert Collins, #150438)
+ * The help for ``bzr ignored`` now sugests ``bzr ls --ignored`` for
+ scripting use. (Robert Collins, #3834)
+
DOCUMENTATION:
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2008-08-04 07:29:51 +0000
+++ b/bzrlib/builtins.py 2008-08-05 06:01:40 +0000
@@ -1941,12 +1941,20 @@
print "Warning: the following files are version controlled and" \
" match your ignore pattern:\n%s" % ("\n".join(matches),)
+
class cmd_ignored(Command):
"""List ignored files and the patterns that matched them.
+
+ List all the ignored files and the ignore pattern that caused the file to
+ be ignored.
+
+ Alternatively, to list just the files::
+
+ bzr ls --ignored
"""
encoding_type = 'replace'
- _see_also = ['ignore']
+ _see_also = ['ignore', 'ls']
@display_command
def run(self):
More information about the bazaar-commits
mailing list