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

Dirstate: all tree_implementation tests passing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
    def get_file_byname(self, filename):
460
460
        return file(self.abspath(filename), 'rb')
461
461
 
 
462
    @needs_read_lock
462
463
    def annotate_iter(self, file_id):
463
464
        """See Tree.annotate_iter
464
465
 
1938
1939
        return conflicts
1939
1940
 
1940
1941
    def walkdirs(self, prefix=""):
 
1942
        """Walk the directories of this tree.
 
1943
 
 
1944
        This API returns a generator, which is only valid during the current
 
1945
        tree transaction - within a single lock_read or lock_write duration.
 
1946
 
 
1947
        If the tree is not locked, it may cause an error to be raised, depending
 
1948
        on the tree implementation.
 
1949
        """
1941
1950
        disk_top = self.abspath(prefix)
1942
1951
        if disk_top.endswith('/'):
1943
1952
            disk_top = disk_top[:-1]