/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/bundle/bundle_data.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-22 03:51:03 UTC
  • mfrom: (7192.5.2 remove-more-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20181122035103-1c5jnbdx2t5yujqb
Stop actually accepting optional file_id in many Tree methods.

Merged from https://code.launchpad.net/~jelmer/brz/remove-more-file-ids/+merge/358950

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
        old_path = self.old_path(path)
683
683
        return self.base_tree.get_file_revision(old_path)
684
684
 
685
 
    def get_size_and_sha1(self, new_path, file_id=None):
 
685
    def get_size_and_sha1(self, new_path):
686
686
        """Return the size and sha1 hash of the given file id.
687
687
        If the file was not locally modified, this is extracted
688
688
        from the base_tree. Rather than re-reading the file.