/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/git/tree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 23:38:56 UTC
  • mfrom: (7170.3.2 optional-all-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20181116233856-sgktuah3dmjwjqna
Make implementing Tree.all_file_ids() optional.

Merged from https://code.launchpad.net/~jelmer/brz/optional-all-file-ids/+merge/358932

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
        return self._fileid_map.lookup_file_id(osutils.safe_unicode(path))
323
323
 
324
324
    def all_file_ids(self):
325
 
        return {self.path2id(path) for path in self.all_versioned_paths()}
 
325
        raise errors.UnsupportedOperation(self.all_file_ids, self)
326
326
 
327
327
    def all_versioned_paths(self):
328
328
        ret = {u''}