458
458
@deprecated_method(deprecated_in((2, 1, 0)))
459
459
def file_revisions(self, file_id):
460
460
self.ensure_revision_trees()
464
461
if self.this_rev_id is None:
465
462
if self.this_basis_tree.get_file_sha1(file_id) != \
466
463
self.this_tree.get_file_sha1(file_id):
467
464
raise errors.WorkingTreeNotRevision(self.this_tree)
469
466
trees = (self.this_basis_tree, self.other_tree)
472
469
@deprecated_method(deprecated_in((2, 1, 0)))
473
470
def check_basis(self, check_clean, require_commits=True):