/breezy-svn/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-svn/trunk

« back to all changes in this revision

Viewing changes to tree.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-09 08:08:57 UTC
  • Revision ID: jelmer@jelmer.uk-20180609080857-80d0q0isfhsabe2t
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        :raises KeyError: raised if path was not found
76
76
        :return: tuple with file id and text revision
77
77
        """
78
 
        assert isinstance(path, text_type) or isinstance(path, bytes), "%r" % path
 
78
        assert isinstance(path, text_type) or isinstance(path, bytes), "was: %r" % path
79
79
        return self.id_map.lookup(self.mapping, path)[:2]
80
80
 
81
81
    def lookup_path(self, file_id):