/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/_dirstate_helpers_pyx.pyx

Show diffs side-by-side

added added

removed removed

Lines of Context:
1392
1392
            # provide.
1393
1393
            self.search_specific_file_parents.add('')
1394
1394
 
1395
 
    cdef void _update_current_block(self):
 
1395
    cdef int _update_current_block(self) except -1:
1396
1396
        if (self.block_index < len(self.state._dirblocks) and
1397
1397
            osutils.is_inside(self.current_root, self.state._dirblocks[self.block_index][0])):
1398
1398
            self.current_block = self.state._dirblocks[self.block_index]
1401
1401
        else:
1402
1402
            self.current_block = None
1403
1403
            self.current_block_list = None
 
1404
        return 0
1404
1405
 
1405
1406
    def __next__(self):
1406
1407
        # Simple thunk to allow tail recursion without pyrex confusion