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

  • Committer: Jelmer Vernooij
  • Date: 2018-03-26 09:52:59 UTC
  • mto: (0.200.1934 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180326095259-bfjlfm21dfam0pm5
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
503
503
        else:
504
504
            return None
505
505
 
 
506
    def get_reference_revision(self, path, file_id=None):
 
507
        """See RevisionTree.get_symlink_target."""
 
508
        (mode, hexsha) = self._lookup_path(path)
 
509
        if S_ISGITLINK(mode):
 
510
            return self._repository.lookup_foreign_revision_id(hexsha)
 
511
        else:
 
512
            return None
 
513
 
506
514
    def _comparison_data(self, entry, path):
507
515
        if entry is None:
508
516
            return None, False, None