~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-04-15 07:53:59 UTC
  • Revision ID: mbp@sourcefrog.net-20050415075359-e45b9cdcefc06fc8
- Windows path fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
 
375
375
    # TODO: Better to return them in sorted order I think.
376
376
 
 
377
    if file_list:
 
378
        file_list = [b.relpath(f) for f in file_list]
 
379
 
377
380
    # FIXME: If given a file list, compare only those files rather
378
381
    # than comparing everything and then throwing stuff away.
379
382
    
380
383
    for file_state, fid, old_name, new_name, kind in bzrlib.diff_trees(old_tree, new_tree):
381
384
 
382
 
        if file_list and new_name not in file_list:
 
385
        if file_list and (new_name not in file_list):
383
386
            continue
384
387
        
385
388
        # Don't show this by default; maybe do it if an option is passed