~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

(jameinel) Make kind markers optional for bzr status. (Martin von Gagern)

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
    unknown
233
233
        Not versioned and not matching an ignore pattern.
234
234
 
235
 
    Additionally for directories, symlinks and files with an executable
236
 
    bit, Bazaar indicates their type using a trailing character: '/', '@'
237
 
    or '*' respectively.
 
235
    Additionally for directories, symlinks and files with a changed
 
236
    executable bit, Bazaar indicates their type using a trailing
 
237
    character: '/', '@' or '*' respectively. These decorations can be
 
238
    disabled using the '--no-classify' option.
238
239
 
239
240
    To see ignored files use 'bzr ignored'.  For details on the
240
241
    changes to file texts, use 'bzr diff'.
271
272
                            short_name='V'),
272
273
                     Option('no-pending', help='Don\'t show pending merges.',
273
274
                           ),
 
275
                     Option('no-classify',
 
276
                            help='Do not mark object type using indicator.',
 
277
                           ),
274
278
                     ]
275
279
    aliases = ['st', 'stat']
276
280
 
279
283
 
280
284
    @display_command
281
285
    def run(self, show_ids=False, file_list=None, revision=None, short=False,
282
 
            versioned=False, no_pending=False, verbose=False):
 
286
            versioned=False, no_pending=False, verbose=False,
 
287
            no_classify=False):
283
288
        from bzrlib.status import show_tree_status
284
289
 
285
290
        if revision and len(revision) > 2:
299
304
        show_tree_status(tree, show_ids=show_ids,
300
305
                         specific_files=relfile_list, revision=revision,
301
306
                         to_file=self.outf, short=short, versioned=versioned,
302
 
                         show_pending=(not no_pending), verbose=verbose)
 
307
                         show_pending=(not no_pending), verbose=verbose,
 
308
                         classify=not no_classify)
303
309
 
304
310
 
305
311
class cmd_cat_revision(Command):