/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 bzrlib/transform.py

Merge from preview-tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1373
1373
                return changes
1374
1374
 
1375
1375
    def _content_change(self, file_id):
 
1376
        """Return True if the content of this file changed"""
1376
1377
        changes = self._changes(file_id)
 
1378
        # changes[2] is true if the file content changed.  See
 
1379
        # InterTree.iter_changes.
1377
1380
        return (changes is not None and changes[2])
1378
1381
 
1379
1382
    def _get_file_revision(self, file_id, vf, tree_revision):
1446
1449
        return self._stat_limbo_file(file_id).st_mtime
1447
1450
 
1448
1451
    def get_file_size(self, file_id):
 
1452
        """See Tree.get_file_size"""
1449
1453
        if self.kind(file_id) == 'file':
1450
1454
            return self._transform._tree.get_file_size(file_id)
 
1455
        else:
 
1456
            return None
1451
1457
 
1452
1458
    def get_file_sha1(self, file_id, path=None, stat_value=None):
1453
1459
        return self._transform._tree.get_file_sha1(file_id)