/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/grep/grep.py

  • Committer: Jelmer Vernooij
  • Date: 2018-10-29 11:27:33 UTC
  • mto: This revision was merged to the branch mainline in revision 7170.
  • Revision ID: jelmer@jelmer.uk-20181029112733-bjvm24z12svwl53m
Get rid of file_ids in most of Tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
                # If old result is valid, print results immediately.
429
429
                # Otherwise, add file info to to_grep so that the
430
430
                # loop later will get chunks and grep them
431
 
                cache_id = tree.get_file_revision(tree_path, fid)
 
431
                cache_id = tree.get_file_revision(tree_path)
432
432
                if cache_id in outputter.cache:
433
433
                    # GZ 2010-06-05: Not really sure caching and re-outputting
434
434
                    #                the old path is really the right thing,