~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/status.py

  • Committer: Martin Pool
  • Date: 2005-05-11 08:01:27 UTC
  • Revision ID: mbp@sourcefrog.net-20050511080127-4829697fc2ac64f1
- put back support for running diff or status on 
  only selected files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    old = branch.basis_tree()
36
36
    new = branch.working_tree()
37
37
 
38
 
    if file_list:
39
 
        raise NotImplementedError("sorry, status on selected files is not implemented "
40
 
                                  "at the moment")
41
 
 
42
 
    delta = diff.compare_trees(old, new, want_unchanged=show_unchanged)
 
38
    delta = diff.compare_trees(old, new, want_unchanged=show_unchanged,
 
39
                               file_list=file_list)
43
40
 
44
41
    delta.show(sys.stdout, show_ids=show_ids,
45
42
               show_unchanged=show_unchanged)