~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-09 03:11:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050509031121-9378b17cb31eaa7f
- bzr status now optionally takes filenames to check

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    The name is that in the current revision unless it is deleted or
120
120
    missing, in which case the old name is shown.
121
121
    """
 
122
    takes_args = ['file*']
122
123
    takes_options = ['all']
123
124
    aliases = ['st', 'stat']
124
125
    
125
 
    def run(self, all=False):
 
126
    def run(self, all=False, file_list=None):
126
127
        #import bzrlib.status
127
128
        #bzrlib.status.tree_status(Branch('.'))
128
 
        Branch('.').show_status(show_all=all)
 
129
        Branch('.').show_status(show_all=all, file_list=file_list)
129
130
 
130
131
 
131
132
class cmd_cat_revision(Command):